feat: switch mono typeface from Iosevka Curly Slab to plain Iosevka

Self-hosted, subset to exactly the glyphs the site uses (fonttools --unicodes), so the pair is smaller (6.4+6.3KB) than the curly-slab files they replace despite covering en+de plus shell/tree symbols.
This commit is contained in:
kgva CMS
2026-08-10 22:35:41 +00:00
parent 62ec86dab7
commit 8f37bba08b
8 changed files with 28 additions and 3 deletions
+25
View File
@@ -6,6 +6,31 @@
remove this file → original shibui look returns.
══════════════════════════════════════════════════════════════ */
/* plain Iosevka instead of the theme's "Iosevka Curly Slab" — same family,
calmer letterforms (straight $, no slab foot on digits). self-hosted,
subset to exactly the characters used on the site (fonttools --unicodes),
so it's smaller than the curly-slab cut it replaces despite covering en+de
plus the shell/tree symbols (→ ← … · ▶ ⛶ ☕ ✕ ❚ box-drawing). overrides the
theme's --font-family-* vars below (custom.css loads after site.css). */
@font-face {
font-family: "Iosevka";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/iosevka-400.woff2") format("woff2");
}
@font-face {
font-family: "Iosevka";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("/fonts/iosevka-700.woff2") format("woff2");
}
:root {
--font-family-mono: "Iosevka", ui-monospace, monospace;
--font-family-sans: "Iosevka", ui-monospace, monospace;
}
/* self-hosted serif, used only for the project-info side panel */
@font-face {
font-family: "Libre Baskerville";