mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-25 10:16:06 -05:00
add variable Inter fonts
current faces/files kept as a fallback. also switched to Google-hosted fonts on AMP pages (might as well...)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
@return linear-gradient($color-opaque-alpha, $color-opaque-alpha);
|
||||
}
|
||||
|
||||
// Web fonts (see components/_fonts.scss)
|
||||
// Web fonts (see components/_typography.scss)
|
||||
@mixin font-face($family, $src, $weight: normal, $style: normal, $display: swap) {
|
||||
@font-face {
|
||||
font-family: $family;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
// Web fonts
|
||||
$webfont-sans: "Inter", sans-serif;
|
||||
$webfont-sans-variable: "Inter var";
|
||||
$webfont-mono: "Hack", monospace;
|
||||
|
||||
// System fonts
|
||||
|
||||
Reference in New Issue
Block a user