From 5711f1d3392390ae816e7ce2d788106f4e13c7c2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 2 Oct 2025 20:53:27 +0300 Subject: [PATCH] main.scss: update fonts --- assets/main.scss | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index a421232..3f5f97e 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -10,34 +10,39 @@ $serif-font-family: ui-serif, "Roboto Serif", "Noto Serif", Tinos, serif, "Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji; $sans-serif-font-family: - "Inclusive Sans", ui-sans-serif, "Roboto Flex", "Segoe UI Variable", Roboto, - "Noto Sans", Arimo, sans-serif, "Noto Emoji", "Noto Color Emoji", - "Segoe UI Emoji", emoji; + "Atkinson Hyperlegible Next", "Inclusive Sans", ui-sans-serif, + "Roboto Flex", "Segoe UI Variable", Roboto, "Noto Sans", Arimo, sans-serif, + "Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji; $monospace-font-family: - "Comic Shanns Mono", ui-monospace, "Roboto Mono", "Segoe UI Mono", + "Atkinson Hyperlegible Mono", ui-monospace, "Roboto Mono", "Segoe UI Mono", "Noto Mono", Cousine, monospace, "Noto Emoji", "Noto Color Emoji", "Segoe UI Emoji", emoji; // Must be in the end under threat of undefined variable error. $base-font-family: $sans-serif-font-family; @font-face { - font-family: "Inclusive Sans"; - src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans[wght].woff2") + font-family: "Atkinson Hyperlegible Next"; + src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext[wght].woff2") format("woff2"); font-weight: normal; font-style: normal; } @font-face { - font-family: "Inclusive Sans Italic"; - src: url("https://raw.githubusercontent.com/LivKing/Inclusive-Sans/refs/heads/main/fonts/webfonts/InclusiveSans-Italic[wght].woff2") + font-family: "Atkinson Hyperlegible Next Italic"; + src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleNext-Italic[wght].woff2") format("woff2"); font-weight: normal; font-style: italic; } @font-face { - font-family: "Comic Shanns Mono"; - src: url("https://raw.githubusercontent.com/jesusmgg/comic-shanns-mono/refs/heads/master/fonts/ComicShannsMono-Regular.otf") - format("opentype"); + font-family: "Atkinson Hyperlegible Mono"; + src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next-mono/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleMono[wght].woff2") + format("woff2"); +} +@font-face { + font-family: "Atkinson Hyperlegible Mono Italic"; + src: url("https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible-next-mono/refs/heads/main/fonts/webfonts/AtkinsonHyperlegibleMono-Italic[wght].woff2") + format("woff2"); } @import "{{ site.theme }}";