-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(globalstyles): reduce load times by using Arial instead of Monts…
…errat Previously, Montserrat was used on every foundry-ui component by default. It could be overwritten by another using our globalStyles api, but the font would still be loaded by Google Fonts. This change removes Montserrat and its loading in favor of an OS-default font: Arial. It also looks better and Headstorm doesn't use Montserrat anymore anyway. complete #250
- Loading branch information
1 parent
62b1f00
commit 9e7ffff
Showing
5 changed files
with
7 additions
and
9 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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
enum fonts { | ||
importFonts = "@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&display=swap');", | ||
body = 'font-family: Montserrat, Roboto, sans-serif;', | ||
body = 'font-family: Arial, Roboto, sans-serif;', | ||
} | ||
|
||
export default fonts; |