-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: turn on font stylesheet inlining by default (#87)
This commit enables the "download" option by default, which turns on inlining of the font stylesheet and the downloading/self-hosting of the font. As these are both best practices, it makes sense for these to be part of the default experience. See more: https://web.dev/font-best-practices/#inline-font-declarations Co-authored-by: Ricardo Gobbo de Souza <[email protected]>
- Loading branch information
1 parent
1e50410
commit 8b53012
Showing
5 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ export default { | |
googleFonts: { | ||
families: { | ||
Roboto: true | ||
} | ||
}, | ||
download: false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ export default { | |
Roboto: true | ||
}, | ||
useStylesheet: true, | ||
download: false, | ||
preload: true | ||
} | ||
} |