mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
chore(font.scss): update font-face declaration for 'Geist' font and add font-display property for better font loading performance
chore(font.scss): add font-face declaration for 'fw' font and set font-display property for better font loading performance chore(typography.scss): update font-family property for body element to use 'Geist' font as the primary font chore(typography.scss): update font-family property for button element to use 'fw' font as the primary font
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
@font-face {
|
||||
font-family: HelveticaNow;
|
||||
src: url('/lib/fonts/HelveticaNowText-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-family: 'Geist';
|
||||
src: url('/lib/fonts/GeistVF.woff2') format('woff2');
|
||||
font-weight: 90;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'fw';
|
||||
src: url('/lib/fonts/fw.svg') format('svg');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
body {
|
||||
line-height: 1.2;
|
||||
font-size: 16px;
|
||||
font-family: HelveticaNow, helvetica, arial, sans-serif;
|
||||
font-family: 'Geist', helvetica, arial, sans-serif;
|
||||
|
||||
button {
|
||||
font-family: 'fw', sans-serif;
|
||||
}
|
||||
|
||||
@include min-width('tablet') {
|
||||
font-size: 18px;
|
||||
|
||||
Reference in New Issue
Block a user