feat: upgrade fonts

isekai-main
Barış Soner Uşaklı 2 years ago
parent 1033cd1cf2
commit 392a7d2803

@ -29,8 +29,8 @@
}, },
"dependencies": { "dependencies": {
"@adactive/bootstrap-tagsinput": "0.8.2", "@adactive/bootstrap-tagsinput": "0.8.2",
"@fontsource/inter": "4.5.15", "@fontsource/inter": "5.0.2",
"@fontsource/poppins": "4.5.10", "@fontsource/poppins": "5.0.2",
"@isaacs/ttlcache": "1.4.0", "@isaacs/ttlcache": "1.4.0",
"@popperjs/core": "2.11.8", "@popperjs/core": "2.11.8",
"ace-builds": "1.22.0", "ace-builds": "1.22.0",

@ -3,18 +3,16 @@
$weights: $font-weight-light, $font-weight-normal, $font-weight-semibold, $font-weight-bold; $weights: $font-weight-light, $font-weight-normal, $font-weight-semibold, $font-weight-bold;
@each $weight in $weights { @include Inter.faces(
@include Inter.fontFace( $weights: $weights,
$weight: $weight, $display: fallback,
$display: fallback, $directory: "./plugins/core/inter"
$fontDir: "./plugins/core/inter" );
); @include Poppins.faces(
@include Poppins.fontFace( $weights: $weights,
$weight: $weight, $display: fallback,
$display: fallback, $directory: "./plugins/core/poppins"
$fontDir: "./plugins/core/poppins" );
);
}
.ff-base { font-family: $font-family-base !important; } .ff-base { font-family: $font-family-base !important; }
.ff-sans { font-family: $font-family-sans-serif !important; } .ff-sans { font-family: $font-family-sans-serif !important; }

Loading…
Cancel
Save