Chocolate Templates — Design System
A cohesive open-source template design system — warm light theme with Fraunces headings.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/chocolate-templates.
Tokens
Chocolate Templates's decoded design system: background #FFFCF7, text #4a3520, accent #8C5927, link #8C5927, primary #4a3520; type scale h1 24px / h2 20px / body 14px; 4px spacing base; 10px base radius. The single interactive/action color is #8C5927 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFCF7 |
| surface | #F4F0EA |
| border | #E3DED6 |
| text | #4a3520 |
| text_muted | #8E8071 |
| primary | #4a3520 |
| accent | #8C5927 |
| link | #8C5927 |
| secondary | #FFFCF7 |
| button_bg | #8C5927 |
| button_text | #FFFFFF |
Using these colors
- Action color
#8C5927— the single interactive color; only on things you click or must notice, never large fills. accent,link,button_bgare all#8C5927— one role, not several (the action color).- accent
#8C5927— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#4a3520— ≈ the text color — a foreground/text color, not an action color (action = #8C5927). - secondary
#FFFCF7— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Fraunces
- Body: Albert Sans
- h1: 24px
- h2: 20px
- body: 14px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 10px
- button: 10px
Motion
Micro-interactions run at 125ms (dominant).
- durations: 125ms · 300ms
Per-section tokens (3)
Export: DESIGN.md
# Chocolate Templates — Design System > light, warm, calm, react A cohesive open-source template design system — warm light theme with Fraunces headings. ## Colors | Role | Value | |------|-------| | bg | `#FFFCF7` | | surface | `#F4F0EA` | | border | `#E3DED6` | | text | `#4a3520` | | text_muted | `#8E8071` | | primary | `#4a3520` | | accent | `#8C5927` | | link | `#8C5927` | | secondary | `#FFFCF7` | | button_bg | `#8C5927` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#8C5927` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `link`, `button_bg` are all `#8C5927` — one role, not several (your action color). - **accent** `#8C5927` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **primary** `#4a3520` — ≈ the text color — a foreground/text color, not an action color (action = #8C5927). - **secondary** `#FFFCF7` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. ## Typography - Heading: **Fraunces** - Body: **Albert Sans** _(free fallback: Newsreader)_ - h1: 24px - h2: 20px - body: 14px > **Fonts —** Fraunces — free, on Google. Albert Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 10px - button: 10px ## Primary button - bg `#8C5927` · text `#FFFFFF` · radius 10px ## Motion - durations: 125ms (dominant) · 300ms Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/chocolate-templates
Export: Tailwind v4 (@theme)
@theme {
/* action color #8C5927 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FFFCF7;
--color-surface: #F4F0EA;
--color-border: #E3DED6;
--color-text: #4a3520;
--color-text-muted: #8E8071;
--color-primary: #4a3520; /* ≈ the text color — a foreground/text color, not an action color (action = #8C5927). */
--color-accent: #8C5927; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--color-link: #8C5927; /* inline text links — shares the action color. */
--color-secondary: #FFFCF7; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--color-button-bg: #8C5927; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FFFFFF;
/* fonts: Fraunces — free, on Google. Albert Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */
--font-heading: "Fraunces", Georgia, 'Times New Roman', serif;
--font-body: "Albert Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-h1: 24px;
--text-h2: 20px;
--text-body: 14px;
--radius-base: 10px;
--radius-button: 10px;
--duration-fast: 125ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 300ms;
--spacing-1: 2px;
--spacing-2: 4px;
--spacing-3: 6px;
--spacing-4: 8px;
--spacing-5: 12px;
--spacing-6: 16px;
--spacing-7: 24px;
--spacing-8: 32px;
}Export: CSS variables
:root {
/* action color #8C5927 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FFFCF7;
--surface: #F4F0EA;
--border: #E3DED6;
--text: #4a3520;
--text-muted: #8E8071;
--primary: #4a3520; /* ≈ the text color — a foreground/text color, not an action color (action = #8C5927). */
--accent: #8C5927; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--link: #8C5927; /* inline text links — shares the action color. */
--secondary: #FFFCF7; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--button-bg: #8C5927; /* primary-button fill — the main call-to-action color. */
--button-text: #FFFFFF;
--font-heading: "Fraunces", Georgia, 'Times New Roman', serif;
--font-body: "Albert Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--radius: 10px;
--radius-button: 10px;
--duration-fast: 125ms;
--duration-base: 300ms;
}
/* fonts: Fraunces — free, on Google. Albert Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */