Skip to content

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.


  • 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.
PageAudienceUse when
design-system.htmlDesigner · Brand · MarketingYou want to see the palette, typography, contrast tables, and component briefs at a glance.
working-with-the-design-skill.mdEngineering · ToolingYou’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.mdEngineeringYou need the implemented token system, theme structure, and the semantic↔raw mapping in code.
ui-patterns.mdEngineeringYou are composing primitives and want the canonical patterns the app uses (Card vs .soft-panel, page shell, status pills, and the rest).
shadcn-components.mdEngineeringYou need the shadcn/ui component catalog and how Cinatra extends/overrides it.
  • 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/). The design-system.html spec is the normative reference; see the operational pointer.

When the spec is updated, re-run the validation harness in this repo:

Terminal window
node scripts/design/snapshot-tokens.mjs --check # warns if token retune is needed
node scripts/design/scan-raw-colors.mjs # warns if a new raw-color leak appears
node scripts/design/scan-status-render.mjs # warns if a new ad-hoc status renderer appears

The 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.