fix: change font preloading
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
// The fonts available are OTF and TTF. Modern browsers prefer WOFF/WOFF2,
|
||||
// Ideally, providing WOFF2 versions would be best practice for performance.
|
||||
// Add font-display to improve Google PageSpeed rendering.
|
||||
|
||||
// Update font file names and ensure no spaces for better compatibility.
|
||||
@font-face {
|
||||
font-family: 'Hajime Sans';
|
||||
src: url('../Fonts/Hajime Sans.ttf') format('truetype'),
|
||||
url('../Fonts/Hajime Sans.otf') format('opentype');
|
||||
src: url('../Fonts/Hajime-Sans.ttf') format('truetype'),
|
||||
url('../Fonts/Hajime-Sans.otf') format('opentype');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
|
||||
Reference in New Issue
Block a user