diff --git a/content/assets/brand.css b/content/assets/brand.css index 7657c47..290a645 100644 --- a/content/assets/brand.css +++ b/content/assets/brand.css @@ -1,20 +1,101 @@ -/* Shared brand primitives loaded on EVERY page via styling.site_css — - the calm docs shell and the vibrant landing alike. Keep this file to - foundations only (self-hosted fonts); landing-specific gradients and - layout live in landing.css (styling.custom_css, landing pages only). - - Fonts are self-hosted under /assets/fonts so they satisfy the CSP - font-src 'self'. The body font-family itself is set by tinkerdown from - styling.font ("Inter"); these @font-face rules make that family load. */ - -/* ── Inter (display / body) ── */ -@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2')} -@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2')} -@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700.woff2') format('woff2')} -@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/inter-800.woff2') format('woff2')} -@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/assets/fonts/inter-900.woff2') format('woff2')} - -/* ── JetBrains Mono (code) ── */ +/* Shared brand foundations, loaded on EVERY page via styling.site_css — the + docs shell and the landing alike. Three things live here and nowhere else: + the calm design tokens, the self-hosted @font-face rules, and the neutralised + prism palette. Page layout is docs.css (imported below) and landing.css + (styling.custom_css, landing pages only). + + Load order matters and is load-bearing. tinkerdown emits, in : + pico.css → tinkerdown-client.css → theme diff --git a/examples/greet-wall/wall.tmpl b/examples/greet-wall/wall.tmpl index 7739b5a..210034f 100644 --- a/examples/greet-wall/wall.tmpl +++ b/examples/greet-wall/wall.tmpl @@ -11,14 +11,28 @@