Unifies — Design Tokens (Reference)Legacy format

A compact, token-first companion to the full `design.md` narrative spec. Publish / sync these to designmd.ai via the `designmd` MCP server.

Typography

DisplaySpace Grotesk · 16px · 600 / 700

Every letter tells a story worth reading, and every typeface gives that story a new voice waiting to be heard.

HeadingSpace Grotesk · 16px · 600 / 700

Every letter tells a story worth reading, and every typeface gives that story a new voice waiting to be heard.

BodyInter · 16px · 400 / 500 / 600

Every letter tells a story worth reading, and every typeface gives that story a new voice waiting to be heard.

MonoJetBrains Mono · 16px · 400 / 500 / 700

Every letter tells a story worth reading, and every typeface gives that story a new voice waiting to be heard.

A compact, token-first companion to the full `design.md` narrative spec. Publish / sync these to designmd.ai via the `designmd` MCP server.

Components

Buttons

Cards

Card Title

Sample body text for the card component.

Inputs

Elevation & Depth

shadow-hard

Do's & Don'ts

Do

The accent is monochrome (ink ↔ paper). No brand hue.
Use `raw-*` classes and token utilities for new components.

Don't

Use soft shadows; only hard offset shadows.
Allow rounded corners; enforce `border-radius: 0` globally.
Include themes beyond light and dark.
Color tokens

Color is expressed through CSS custom properties. Light is the default (the :root

block); Dark is a full inversion applied under the html.dark class. There is no

third theme.

| Token | Light | Dark | Role |

| ----------------- | -------------------- | -------------------- | ----------------------------------- |

| --bg | #f6f7f9 | #0a0a0c | Page canvas |

| --surface | #ffffff | #16171b | Cards, panels, inputs |

| --elevated | #ffffff | #1e1f25 | Popovers, sticky bars |

| --fg | #0a0a0c | #f4f5f7 | Primary text and primary fills |

| --muted | #54565c | #a2a5ad | Secondary and helper text |

| --faint | #8a8d94 | #6c6f77 | Tertiary and meta text |

| --line | #d8dbe0 | #2b2d33 | All borders and dividers |

| --accent | #111111 (ink) | #f4f5f7 (paper) | Monochrome brand accent |

| --accent-fg | #ffffff | #0a0a0c | Text and icons placed on --accent|

| --success | #11a36b | #2fbf7e | Completed, XP, "done" |

| --danger | #e02424 | #ff5a5a | Errors, destructive, delete |

| --warn | #c2820a | #e0a93a | Cautions, skips, celebrate |

The accent is intentionally monochrome — ink in light, paper in dark — and carries

no brand hue. Blue, cyan, fuchsia and similar colors are never used as brand color; the

only non-neutral colors are the three semantic status tokens above. The legacy Tailwind

palette (slate, cyan, fuchsia, emerald, red, amber, black, white) is

remapped onto these tokens in CSS so historical components conform automatically in both

themes.

Component class tokens

Implemented in src/index.css. The raw-* set is the canonical, token-driven library:

raw-card, raw-btn, raw-btn-accent, raw-input, raw-label, raw-stat, raw-tag,

raw-chip, raw-chip-on, raw-check, raw-theme-toggle, list-row, tooltip,

toast, toast-error, fab, safe-t, safe-b, scrollbar-stable.

Legacy aliases — card, btn, input, label, chip, chip-on, helper, link,

modal, overlay — are kept so older components stay styled without rewriting. Every

legacy class derives its values from the token set, so both themes stay in sync.

Motion tokens

Five keyframes drive all motion: fade-in (panel and section entrances), pop

(toasts, modals, created rows), pop-in (tooltips and small surfaces), slide-up

(staggered list rows and highlights), and flash (recently touched heatmap cells).

Everything honors prefers-reduced-motion, which fully disables non-essential animation

rather than merely slowing it.

Hard rules

1. The accent is monochrome (ink ↔ paper). No brand hue.

2. Every corner is square — border-radius: 0 is enforced globally; the mobile FAB

circle is the only deliberate exception.

3. No soft shadows; only the hard offset --shadow-hard.

4. Dark mode is a complete token inversion; no third theme exists.

5. New code uses the raw-* classes and token utilities — colors are never hand-rolled.

The token layer lives in @layer base (custom properties), @layer components

(raw-* and legacy aliases), and @layer utilities (helpers and the theme-alias map).

Theme is a runtime class toggle, so switching is instant and total.

Download .md

License MIT
Uploaded 1 weeks ago
Version v1
File size 5.7 KB
Downloads 10
Copies 2

Use with MCP

Using designmd mcp, download the design system https://designmd.ai/flawsom/unifies-rawblock-tokens and implement it in my code

Don't have the MCP? Install it here