mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-13 02:05:28 -04:00
non-variable Inter font was still loading on Chrome
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// Web fonts
|
// Web fonts
|
||||||
$webfont-sans: "Inter", sans-serif;
|
$webfont-sans: "Inter", sans-serif;
|
||||||
$webfont-sans-variable: "Inter var";
|
$webfont-sans-variable: "Inter var", sans-serif;
|
||||||
$webfont-mono: "Hack", monospace;
|
$webfont-mono: "Hack", monospace;
|
||||||
|
|
||||||
// System fonts
|
// System fonts
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ body {
|
|||||||
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
||||||
@supports (font-variation-settings: normal) {
|
@supports (font-variation-settings: normal) {
|
||||||
body {
|
body {
|
||||||
font-family: $webfont-sans-variable, $webfont-sans;
|
font-family: $webfont-sans-variable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user