Skip to content

Commit

Permalink
css: copy fonts from mikaela.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaela committed Jul 30, 2024
1 parent b40bd30 commit ed91a5c
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@

@charset "utf-8";

// Our variables
$serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman",
serif, emoji;
$sans-serif-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial",
sans-serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine,
"Courier New", monospace, emoji;
// Must be in the end or undefined error.
$base-font-family: $serif-font-family;
// Our font definitions. I know system-ui is generally sans-serif, but I
// consider that lesser evil than not letting the client OS choose its
// preferred font.
$serif-font-family: ui-serif, system-ui, serif, "Noto Emoji",
"Noto Color Emoji", emoji;
$sans-serif-font-family: ui-sans-serif, system-ui, sans-serif, "Noto Emoji",
"Noto Color Emoji", emoji;
$monospace-font-family: ui-monospace, monospace, "Noto Emoji",
"Noto Color Emoji", emoji;
// Must be in the end under threat of undefined variable error.
$base-font-family: $sans-serif-font-family;

@import "{{ site.theme }}";

:root {
color-scheme: dark light !important;
color-scheme: light dark !important;
}

* {
Expand Down

0 comments on commit ed91a5c

Please sign in to comment.