From 36d87e27019fce743e63be87222e987510863e6f Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 23 Jul 2026 16:13:56 +0200 Subject: web: remove deus_vult theme; add global monospace toggle (web_mono config + top-bar 'mono') --- internal/web/static/base.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal/web/static/base.css') diff --git a/internal/web/static/base.css b/internal/web/static/base.css index 776c934..59c67aa 100644 --- a/internal/web/static/base.css +++ b/internal/web/static/base.css @@ -13,6 +13,7 @@ * (the ONE sanctioned type override; base.css still owns sizing/spacing). */ --font-reading: var(--theme-font, Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif); --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; + --font-mono: ui-monospace, "Cascadia Code", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace; --measure: 42rem; --space-1: 0.5rem; --space-2: 1rem; @@ -39,6 +40,13 @@ body { color: var(--fg); } +/* Global monospace reading toggle (config web_mono / the "mono" top-bar + * checkbox): forces the reading face to mono over whatever the theme uses, + * for any theme. UI chrome (--font-ui) is untouched. */ +body.mono { + --font-reading: var(--font-mono); +} + .page { max-width: 64rem; margin: 0 auto; -- cgit v1.3