Skip to content

Commit

Permalink
Add adjusted fallback font for Faustina
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermercer committed May 3, 2023
1 parent d34dbe0 commit 57541d3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/sass/tokens/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
@import '../../../node_modules/@fontsource/faustina/400-italic';
@import '../../../node_modules/@fontsource/faustina/700';

@font-face {
font-family: "Faustina-fallback";
size-adjust: 103.05%;
ascent-override: 99%;
src: local("Times New Roman");
}

:root {
--font-heading: 'Figtree', Arial, sans-serif;
--font-body: 'Faustina', Georgia, serif;
--font-body: 'Faustina', 'Faustina-fallback', 'Times New Roman', serif;
--font-accent: 'Figtree', Arial, sans-serif;
--font-code: Consolas, 'Courier New', monospace;
}

0 comments on commit 57541d3

Please sign in to comment.