mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-18 00:00:48 -05:00
switch main font to the beautiful Inter – https://rsms.me/inter/
This commit is contained in:
@@ -13,17 +13,19 @@
|
||||
}
|
||||
|
||||
// Web fonts (see components/_fonts.scss)
|
||||
@mixin font-face($family, $src-local, $src-local-alt, $src,
|
||||
@mixin font-face($family, $src,
|
||||
$style: normal, $weight: normal, $display: swap) {
|
||||
@font-face {
|
||||
font-family: $family;
|
||||
font-style: $style;
|
||||
font-weight: $weight;
|
||||
font-display: $display;
|
||||
src: local("#{$src-local}"), local("#{$src-local-alt}"),
|
||||
url("#{$src}.woff2") format("woff2"),
|
||||
src: url("#{$src}.woff2") format("woff2"),
|
||||
url("#{$src}.woff") format("woff");
|
||||
// url('#{$src}.ttf') format('truetype'),
|
||||
// url('#{$src}.eot') format('embedded-opentype');
|
||||
// src: local("#{$src-local}"), local("#{$src-local-alt}"),
|
||||
// url('#{$src}.ttf') format('truetype'),
|
||||
// url('#{$src}.eot') format('embedded-opentype');
|
||||
unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20CF,
|
||||
U+2190-21FF, U+2200-22FF, U+2122;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ $system-fonts: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
$system-fonts-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
$system-fonts-monospace: "SFMono-Regular", "Consolas", "Liberation Mono",
|
||||
"Menlo", "Courier", monospace;
|
||||
$webfont-roboto: "Roboto", sans-serif;
|
||||
$webfont-inter: "Inter", sans-serif;
|
||||
|
||||
// Misc Settings
|
||||
$responsive-width: 890px;
|
||||
|
||||
Reference in New Issue
Block a user