1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-25 10:16:06 -05:00

switch to a variable mono font (Roboto Mono) and subset all fonts more

This commit is contained in:
2020-11-27 09:30:54 -05:00
parent 09b44fb689
commit d9deace16c
39 changed files with 180 additions and 124 deletions

View File

@@ -3,7 +3,8 @@
// Web fonts
$webfont-sans: "Inter";
$webfont-sans-variable: "Inter var";
$webfont-mono: "Hack";
$webfont-mono: "Roboto Mono";
$webfont-mono-variable: "Roboto Mono var";
// System fonts
// https://markdotto.com/2018/02/07/github-system-fonts/
@@ -11,9 +12,10 @@ $system-fonts-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Ar
"Segoe UI Emoji", "Segoe UI Symbol";
$system-fonts-monospace: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", "Courier", monospace;
$font-stack-static: $webfont-sans, $system-fonts-sans;
$font-stack-var: $webfont-sans-variable, $system-fonts-sans;
$font-stack-sans: $webfont-sans, $system-fonts-sans;
$font-stack-variable: $webfont-sans-variable, $system-fonts-sans;
$font-stack-mono: $webfont-mono, $system-fonts-monospace;
$font-stack-mono-variable: $webfont-mono-variable, $system-fonts-monospace;
// Width at which to switch to mobile styles
$responsive-width: 830px;