mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 13:20:41 +01:00
feat: upgrade fonts
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@adactive/bootstrap-tagsinput": "0.8.2",
|
||||
"@fontsource/inter": "4.5.15",
|
||||
"@fontsource/poppins": "4.5.10",
|
||||
"@fontsource/inter": "5.0.2",
|
||||
"@fontsource/poppins": "5.0.2",
|
||||
"@isaacs/ttlcache": "1.4.0",
|
||||
"@popperjs/core": "2.11.8",
|
||||
"ace-builds": "1.22.0",
|
||||
|
||||
@@ -3,18 +3,16 @@
|
||||
|
||||
$weights: $font-weight-light, $font-weight-normal, $font-weight-semibold, $font-weight-bold;
|
||||
|
||||
@each $weight in $weights {
|
||||
@include Inter.fontFace(
|
||||
$weight: $weight,
|
||||
$display: fallback,
|
||||
$fontDir: "./plugins/core/inter"
|
||||
);
|
||||
@include Poppins.fontFace(
|
||||
$weight: $weight,
|
||||
$display: fallback,
|
||||
$fontDir: "./plugins/core/poppins"
|
||||
);
|
||||
}
|
||||
@include Inter.faces(
|
||||
$weights: $weights,
|
||||
$display: fallback,
|
||||
$directory: "./plugins/core/inter"
|
||||
);
|
||||
@include Poppins.faces(
|
||||
$weights: $weights,
|
||||
$display: fallback,
|
||||
$directory: "./plugins/core/poppins"
|
||||
);
|
||||
|
||||
.ff-base { font-family: $font-family-base !important; }
|
||||
.ff-sans { font-family: $font-family-sans-serif !important; }
|
||||
|
||||
Reference in New Issue
Block a user