fix: change hajime sans to woff2
This commit is contained in:
@@ -54,13 +54,13 @@ page {
|
||||
# After that, the AssetCollector will handle publishing to _assets folder.
|
||||
includeAssets {
|
||||
hajimeSansTtf {
|
||||
path = EXT:base/Resources/Public/Fonts/Hajime-Sans.ttf
|
||||
path = EXT:base/Resources/Public/Fonts/Hajime-Sans.woff2
|
||||
type = font
|
||||
resourceType = font
|
||||
preload = 1
|
||||
as = font
|
||||
attributes {
|
||||
type = font/ttf
|
||||
type = font/woff2
|
||||
crossorigin = anonymous
|
||||
}
|
||||
}
|
||||
|
||||
BIN
packages/base/Resources/Public/Fonts/Hajime-Sans.woff2
Normal file
BIN
packages/base/Resources/Public/Fonts/Hajime-Sans.woff2
Normal file
Binary file not shown.
@@ -1,8 +1,7 @@
|
||||
// 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.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
|
||||
Reference in New Issue
Block a user