diff --git a/manifest.yaml b/manifest.yaml index d2a81c4..327992b 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -8,6 +8,7 @@ theme_presets: presets.json bundled_fonts: fonts.json master_pages: master_pages.json +required_icon_packs: [lucide, simple-icons] system_templates: - key: editorial @@ -122,6 +123,17 @@ css: * ). No literal colours, no hardcoded families. */ + /* Bundled serif faces. The host does not yet emit @font-face for + * bundled_fonts (LoadedPlugin.BundledFonts is unconsumed), so the theme + * declares its own faces against the served artifact paths + * (/templates/editorial/fonts/...). Presets set typography.fontHeading/body + * to template:editorial: so --font-heading/--font-body resolve to + * these families. */ + @font-face { font-family: 'Playfair Display'; src: url('/templates/editorial/fonts/playfair-display-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; } + @font-face { font-family: 'Playfair Display'; src: url('/templates/editorial/fonts/playfair-display-900-italic.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; } + @font-face { font-family: 'Source Serif 4'; src: url('/templates/editorial/fonts/source-serif-4-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } + @font-face { font-family: 'Source Serif 4'; src: url('/templates/editorial/fonts/source-serif-4-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; } + @layer utilities { :root { --editorial-measure: 64ch; diff --git a/presets.json b/presets.json index c544a57..c8147b4 100644 --- a/presets.json +++ b/presets.json @@ -4,6 +4,10 @@ "name": "Book Paper", "description": "The default. Warm off-white paper and dark serif ink by day, low-glare charcoal with sepia type by night. Oxblood accent throughout.", "theme": { + "typography": { + "fontHeading": "template:editorial:Playfair Display", + "fontBody": "template:editorial:Source Serif 4" + }, "mode": "both", "lightColors": { "background": "38 32% 95%", @@ -54,6 +58,10 @@ "name": "Sepia Review", "description": "Warm sepia in both modes for a soft, magazine-like read. Amber paper and umber ink by day, deep tobacco ground by night.", "theme": { + "typography": { + "fontHeading": "template:editorial:Playfair Display", + "fontBody": "template:editorial:Source Serif 4" + }, "mode": "both", "lightColors": { "background": "34 44% 93%", @@ -104,6 +112,10 @@ "name": "Legal Pad", "description": "Deeper cream and near-black ink for law, finance and long essays. Tight saturation by day, cool ink-black night desk.", "theme": { + "typography": { + "fontHeading": "template:editorial:Playfair Display", + "fontBody": "template:editorial:Source Serif 4" + }, "mode": "both", "lightColors": { "background": "48 42% 93%", @@ -154,6 +166,10 @@ "name": "Nightdesk", "description": "Cooler neutral paper and a crisp after-hours reading mode. A brighter red accent for the late edition.", "theme": { + "typography": { + "fontHeading": "template:editorial:Playfair Display", + "fontBody": "template:editorial:Source Serif 4" + }, "mode": "both", "lightColors": { "background": "40 20% 96%", diff --git a/preview.png b/preview.png index 9155326..5098ad0 100644 Binary files a/preview.png and b/preview.png differ diff --git a/screenshots/01-home-light.png b/screenshots/01-home-light.png index 9155326..5098ad0 100644 Binary files a/screenshots/01-home-light.png and b/screenshots/01-home-light.png differ diff --git a/screenshots/02-home-dark.png b/screenshots/02-home-dark.png index dc34072..d11610a 100644 Binary files a/screenshots/02-home-dark.png and b/screenshots/02-home-dark.png differ diff --git a/screenshots/03-about-light.png b/screenshots/03-about-light.png index 4167ea7..9603ab1 100644 Binary files a/screenshots/03-about-light.png and b/screenshots/03-about-light.png differ diff --git a/screenshots/04-about-dark.png b/screenshots/04-about-dark.png index 048417a..719a3c9 100644 Binary files a/screenshots/04-about-dark.png and b/screenshots/04-about-dark.png differ diff --git a/screenshots/05-blog-on-attention-light.png b/screenshots/05-blog-on-attention-light.png index 188fdfe..1b7acc8 100644 Binary files a/screenshots/05-blog-on-attention-light.png and b/screenshots/05-blog-on-attention-light.png differ diff --git a/screenshots/06-blog-on-attention-dark.png b/screenshots/06-blog-on-attention-dark.png index 9ff6be5..9572abc 100644 Binary files a/screenshots/06-blog-on-attention-dark.png and b/screenshots/06-blog-on-attention-dark.png differ