From 138c03e34489e8e04f135546ef680e0fa79a6c32 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 23 Jul 2026 21:22:45 +0200 Subject: web: distinct per-theme fonts + bolder accents; memento_mori bare monospace --- internal/web/static/base.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'internal/web/static/base.css') diff --git a/internal/web/static/base.css b/internal/web/static/base.css index e66610e..4e942d5 100644 --- a/internal/web/static/base.css +++ b/internal/web/static/base.css @@ -14,6 +14,15 @@ --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; + /* Named font-family palette: a theme selects a reading face by setting + * --theme-font to one of these (see docs/THEMES.md). System-font stacks + * only -- no webfonts (CSP). */ + --font-serif: Georgia, "Times New Roman", serif; + --font-serif-old: "Palatino Linotype", Palatino, "Book Antiqua", serif; + --font-serif-classic: "Times New Roman", "Liberation Serif", serif; + --font-serif-iowan: "Iowan Old Style", "Palatino Linotype", Georgia, serif; + --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; + --font-sans-humanist: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; --measure: 42rem; --space-1: 0.5rem; --space-2: 1rem; -- cgit v1.3