mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-13 01:45:30 -04:00
41 lines
1.5 KiB
SCSS
41 lines
1.5 KiB
SCSS
@use "sass:list";
|
|
@use "sass:string";
|
|
|
|
// The maximum width of the content area:
|
|
$max-width: 865px;
|
|
|
|
// Width at which to switch to mobile styles:
|
|
$responsive-width: 800px;
|
|
|
|
// Web fonts:
|
|
$webfont-sans: "Inter";
|
|
$webfont-sans-variable: "Inter var";
|
|
$webfont-mono: "Roboto Mono";
|
|
$webfont-mono-variable: "Roboto Mono var";
|
|
$webfont-unicode-latin-only: (
|
|
latin:
|
|
string.unquote(
|
|
"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
),
|
|
);
|
|
|
|
// System fonts:
|
|
// https://markdotto.com/2018/02/07/github-system-fonts/
|
|
// stylelint-disable-next-line value-keyword-case
|
|
$system-fonts-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
|
|
$system-fonts-mono: ui-monospace, "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", "Courier", monospace;
|
|
|
|
// Prefer web fonts with system fonts as backup:
|
|
$font-stack-sans: list.join($webfont-sans, $system-fonts-sans);
|
|
$font-stack-sans-variable: list.join($webfont-sans-variable, $system-fonts-sans);
|
|
$font-stack-mono: list.join($webfont-mono, $system-fonts-mono);
|
|
$font-stack-mono-variable: list.join($webfont-mono-variable, $system-fonts-mono);
|
|
|
|
// Fancy link underline settings:
|
|
$link-underline-opacity: 40%;
|
|
$link-underline-size: 2px;
|
|
|
|
// Default fading style when switching between light/dark themes:
|
|
$theme-transition-duration: 0.15s;
|
|
$theme-transition-function: linear;
|