Compare commits

...

4 Commits

Author SHA1 Message Date
Alex Dunmow
c04ea9cbf4 bump to 0.5.0 2026-07-06 20:46:29 +08:00
Alex Dunmow
396b3b443f feat(art-deco): reshoot gallery with bundled Cinzel/Cormorant typography (home/about/article x light+dark)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 20:46:21 +08:00
Alex Dunmow
1fdc6ae792 bump to 0.4.1 2026-07-06 20:43:04 +08:00
Alex Dunmow
1b7f273118 feat(art-deco): bundle Cinzel/Cormorant @font-face + declare required_icon_packs
Host does not consume LoadedPlugin.BundledFonts, so declare @font-face rules
against served /templates/art-deco/fonts/*.woff2 and point preset
typography.fontHeading/body at template:art-deco:<Family>. Declare
required_icon_packs [lucide, simple-icons] so sprite URLs resolve on fresh install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 20:43:04 +08:00
10 changed files with 39 additions and 1 deletions

View File

@ -3,6 +3,7 @@
theme_presets: presets.json
bundled_fonts: fonts.json
master_pages: master_pages.json
required_icon_packs: [lucide, simple-icons]
system_templates:
- key: art-deco
@ -115,6 +116,19 @@ css:
* Font families always come from var(--font-heading|body|mono, <fallback>).
*/
/* Bundled display 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/art-deco/fonts/...). Presets set typography.fontHeading/body
* to template:art-deco:<Family> so --font-heading/--font-body resolve to
* these families. */
@font-face { font-family: 'Cinzel'; src: url('/templates/art-deco/fonts/cinzel-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/templates/art-deco/fonts/cinzel-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/templates/art-deco/fonts/cormorant-garamond-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/templates/art-deco/fonts/cormorant-garamond-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/templates/art-deco/fonts/cormorant-garamond-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/templates/art-deco/fonts/cormorant-garamond-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@layer utilities {
/* deco-rule — hairline gold rule, 1px ascending to 2px on accent lines. */
.deco-rule {

View File

@ -2,7 +2,7 @@
name = "art-deco"
display_name = "Art Deco"
scope = "@themes"
version = "0.4.0"
version = "0.5.0"
description = "Luxury Art Deco theme with champagne gold gradients, jet black, ivory and geometric fan motifs for hotels, fine dining, weddings and jewellers."
kind = "theme"
categories = ["templates"]

View File

@ -5,6 +5,12 @@
"description": "Jet black lifted by champagne gold — the default Art Deco palette.",
"theme": {
"mode": "both",
"typography": {
"fontHeading": "template:art-deco:Cinzel",
"fontBody": "template:art-deco:Cormorant Garamond",
"fontSizeBase": "17",
"lineHeightBase": "1.6"
},
"lightColors": {
"background": "40 30% 96%",
"foreground": "40 20% 10%",
@ -55,6 +61,12 @@
"description": "Soft ivory by day, warm ember by night, with rose-gold flourishes for weddings and jewellers.",
"theme": {
"mode": "both",
"typography": {
"fontHeading": "template:art-deco:Cinzel",
"fontBody": "template:art-deco:Cormorant Garamond",
"fontSizeBase": "17",
"lineHeightBase": "1.6"
},
"lightColors": {
"background": "36 40% 97%",
"foreground": "20 15% 14%",
@ -105,6 +117,12 @@
"description": "Velvet-tinted ivory by day, deep onyx and gold stage-light by night, for theatre and after-dark dining.",
"theme": {
"mode": "both",
"typography": {
"fontHeading": "template:art-deco:Cinzel",
"fontBody": "template:art-deco:Cormorant Garamond",
"fontSizeBase": "17",
"lineHeightBase": "1.6"
},
"lightColors": {
"background": "280 15% 96%",
"foreground": "260 20% 12%",
@ -155,6 +173,12 @@
"description": "Deco emerald and gilt — parchment and jade by day, emerald lacquer and gold by night.",
"theme": {
"mode": "both",
"typography": {
"fontHeading": "template:art-deco:Cinzel",
"fontBody": "template:art-deco:Cormorant Garamond",
"fontSizeBase": "17",
"lineHeightBase": "1.6"
},
"lightColors": {
"background": "45 35% 95%",
"foreground": "160 25% 12%",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 KiB

After

Width:  |  Height:  |  Size: 818 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 KiB

After

Width:  |  Height:  |  Size: 818 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 816 KiB

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 KiB

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

After

Width:  |  Height:  |  Size: 374 KiB