Compare commits

..

No commits in common. "8bb456a06b9cc5a2909480dcd6eb277895ed57c0" and "0212c79ea57ede2ff7d3d5d226be5dc77d182ca5" have entirely different histories.

10 changed files with 2 additions and 36 deletions

View File

@ -114,21 +114,7 @@ css:
* the BlockNinja font variables (--font-heading, --font-body, --font-mono) with * the BlockNinja font variables (--font-heading, --font-body, --font-mono) with
* the fallback stacks below — never hardcoded, so the admin font picker works. * the fallback stacks below — never hardcoded, so the admin font picker works.
*/ */
/* Bundled faces. The host does not yet emit @font-face for bundled_fonts
* (LoadedPlugin.BundledFonts is unconsumed — cms WO-BUNDLED-FONTS-DEAD-CODE),
* so the theme declares its own faces against the served artifact paths
* (/templates/coffee/fonts/...). Families/weights mirror fonts.json exactly.
* Presets set typography.fontHeading/body to template:coffee:<Family> so
* --font-heading/--font-body resolve to Fraunces/Work Sans; Caveat backs the
* hand-accent fallback stack. */
@font-face { font-family: 'Fraunces'; src: url('/templates/coffee/fonts/fraunces-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/templates/coffee/fonts/fraunces-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('/templates/coffee/fonts/worksans-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('/templates/coffee/fonts/worksans-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/templates/coffee/fonts/caveat-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/templates/coffee/fonts/caveat-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root { :root {
--coffee-heading-fallback: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif; --coffee-heading-fallback: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
--coffee-body-fallback: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --coffee-body-fallback: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

View File

@ -2,7 +2,7 @@
name = "coffee" name = "coffee"
display_name = "Coffee" display_name = "Coffee"
scope = "@themes" scope = "@themes"
version = "0.4.0" version = "0.3.0"
description = "Warm, hand-crafted theme for cafes, bakeries, and slow-craft makers — kraft paper, doodle illustrations, and roasted browns." description = "Warm, hand-crafted theme for cafes, bakeries, and slow-craft makers — kraft paper, doodle illustrations, and roasted browns."
kind = "theme" kind = "theme"
categories = ["templates"] categories = ["templates"]

View File

@ -5,10 +5,6 @@
"description": "Cream paper and espresso ink with a terracotta accent. Daylight cafe.", "description": "Cream paper and espresso ink with a terracotta accent. Daylight cafe.",
"theme": { "theme": {
"mode": "both", "mode": "both",
"typography": {
"fontHeading": "template:coffee:Fraunces",
"fontBody": "template:coffee:Work Sans"
},
"lightColors": { "lightColors": {
"background": "36 30% 96%", "background": "36 30% 96%",
"foreground": "25 35% 18%", "foreground": "25 35% 18%",
@ -59,10 +55,6 @@
"description": "Espresso-deep base with a copper accent. Evening roastery.", "description": "Espresso-deep base with a copper accent. Evening roastery.",
"theme": { "theme": {
"mode": "both", "mode": "both",
"typography": {
"fontHeading": "template:coffee:Fraunces",
"fontBody": "template:coffee:Work Sans"
},
"lightColors": { "lightColors": {
"background": "36 30% 96%", "background": "36 30% 96%",
"foreground": "25 35% 18%", "foreground": "25 35% 18%",
@ -113,10 +105,6 @@
"description": "Warmer ivory paper with a deeper terracotta accent. Bakery counter.", "description": "Warmer ivory paper with a deeper terracotta accent. Bakery counter.",
"theme": { "theme": {
"mode": "both", "mode": "both",
"typography": {
"fontHeading": "template:coffee:Fraunces",
"fontBody": "template:coffee:Work Sans"
},
"lightColors": { "lightColors": {
"background": "32 35% 92%", "background": "32 35% 92%",
"foreground": "22 40% 16%", "foreground": "22 40% 16%",
@ -167,10 +155,6 @@
"description": "Slate-black menu board with chalk-white lettering and a chalk-cream accent.", "description": "Slate-black menu board with chalk-white lettering and a chalk-cream accent.",
"theme": { "theme": {
"mode": "both", "mode": "both",
"typography": {
"fontHeading": "template:coffee:Fraunces",
"fontBody": "template:coffee:Work Sans"
},
"lightColors": { "lightColors": {
"background": "40 20% 94%", "background": "40 20% 94%",
"foreground": "200 12% 16%", "foreground": "200 12% 16%",
@ -221,10 +205,6 @@
"description": "Soft sage green and oat cream for tea rooms and matcha bars.", "description": "Soft sage green and oat cream for tea rooms and matcha bars.",
"theme": { "theme": {
"mode": "both", "mode": "both",
"typography": {
"fontHeading": "template:coffee:Fraunces",
"fontBody": "template:coffee:Work Sans"
},
"lightColors": { "lightColors": {
"background": "44 32% 94%", "background": "44 32% 94%",
"foreground": "120 15% 18%", "foreground": "120 15% 18%",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 KiB

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 KiB

After

Width:  |  Height:  |  Size: 262 KiB