Designer Guide
The Cinatra Design System — what designers, product, and engineering need to know about how the product looks, what colours mean, and why.
This is the Cinatra design-system reference for contributors, alongside the User, Admin, Hosting, Developer, and Model Context Protocol (MCP) guides.
Quick links
Section titled “Quick links”- Open the design system spec (HTML) — the normative reference, 1278 lines of palette / typography / contrast / component rules. Recommended view: open in a browser (
open references/design/design-system.html). - Working with the design skill — how Claude / Cursor / any agent applies the spec to real code, and what gates run on every commit.
What’s in here
Section titled “What’s in here”| Page | Audience | Use when |
|---|---|---|
design-system.html | Designer · Brand · Marketing | You want to see the palette, typography, contrast tables, and component briefs at a glance. |
working-with-the-design-skill.md | Engineering · Tooling | You’re writing or reviewing UI and want to know which token to use, which scanner runs in CI, and what the binding “non-negotiables” are. |
ui-design-system.md | Engineering | You need the implemented token system, theme structure, and the semantic↔raw mapping in code. |
ui-patterns.md | Engineering | You are composing primitives and want the canonical patterns the app uses (Card vs .soft-panel, page shell, status pills, and the rest). |
shadcn-components.md | Engineering | You need the shadcn/ui component catalog and how Cinatra extends/overrides it. |
What’s NOT in here
Section titled “What’s NOT in here”- Code-level styling rules — those live in
.agents/skills/design/SKILL.md(the design skill, user-invocable via/design). The page in this guide describes how that skill works; the skill itself is the operational source. - The spec defect resolutions (R1 running=indigo, R2 navy hairlines, R3 status retune, R4 fonts) and the rest of the operational rulebook (token map, conformance matrix, exception policy, uncovered-UI register) now live with the code, in the monorepo design skill (
cinatra/.agents/skills/design/operational/). Thedesign-system.htmlspec is the normative reference; see the operational pointer.
How this guide stays current
Section titled “How this guide stays current”When the spec is updated, re-run the validation harness in this repo:
node scripts/design/snapshot-tokens.mjs --check # warns if token retune is needednode scripts/design/scan-raw-colors.mjs # warns if a new raw-color leak appearsnode scripts/design/scan-status-render.mjs # warns if a new ad-hoc status renderer appearsThe design-system.html spec is the normative reference. The monorepo design skill (cinatra/.agents/skills/design/SKILL.md) applies it to code and records the owner deviations + resolutions; on a genuine conflict between the two, stop and request owner reconciliation.