mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 14:16:20 -04:00
34 lines
1.2 KiB
SCSS
34 lines
1.2 KiB
SCSS
@use "sass:list";
|
|
|
|
// 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";
|
|
|
|
// System fonts:
|
|
// https://markdotto.com/2018/02/07/github-system-fonts/
|
|
// stylelint-disable-next-line value-keyword-case
|
|
$system-fonts-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica", "Arial", sans-serif;
|
|
$system-fonts-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-variable: list.join($webfont-sans-variable, $system-fonts-sans);
|
|
$font-stack-mono: list.join($webfont-mono, $system-fonts-monospace);
|
|
$font-stack-mono-variable: list.join($webfont-mono-variable, $system-fonts-monospace);
|
|
|
|
// 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;
|