From 80bf4615dc76692a24c2f6b9a9d30897387b5c2f Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 2 Jan 2024 11:17:02 -0800 Subject: [PATCH] chore: font test --- src/_includes/base.liquid | 2 ++ src/assets/styles/index.css | 4 ++-- src/assets/styles/prism.css | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index edaade22..35faec81 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -32,6 +32,8 @@ {% capture css %} {% render "../assets/styles/yt-lite.css" %} + {% render "../assets/styles/silka.css" %} + {% render "../assets/styles/ml.css" %} {% render "../assets/styles/prism.css" %} {% render "../assets/styles/index.css" %} {% endcapture %} diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 748f6cce..8fca4c25 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -39,8 +39,8 @@ --webrings: #ec8fd0; /* fonts */ - --font-sans: system-ui, sans-serif; - --font-mono: ui-monospace, monospace; + --font-sans: silka, Inter, Roboto, 'Helvetica Neue', system-ui, sans-serif; + --font-mono: ml, ui-monospace, monospace; /* text */ --font-size-xs: .75rem; diff --git a/src/assets/styles/prism.css b/src/assets/styles/prism.css index dfdde4cd..71e1f194 100644 --- a/src/assets/styles/prism.css +++ b/src/assets/styles/prism.css @@ -6,7 +6,7 @@ pre[class*='language-'] { color: #d9e0ee; background: none; text-shadow: 0 1px rgba(0, 0, 0, 0.3); - font-family: ui-monospace, monospace; + font-family: ml, ui-monospace, monospace; text-align: left; white-space: pre; word-spacing: normal;