Cosmic
Identity
Creative & Artistic
Bundled OpenDesign package for Cosmic, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 76pxThe quick brown fox--text-3xl · 54pxThe quick brown fox--text-2xl · 36pxThe quick brown fox--text-xl · 24pxThe quick brown fox--text-lg · 18pxThe quick brown fox--text-base · 16pxThe quick brown fox--text-sm · 14pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#070711Page background — defines the brand canvas.#111126Card / lifted container background.#1e1540Tertiary surface tier (kami warm-sand).#f8f7ffPrimary text color.#d6ccffSecondary text tier (kami dark-warm).#9d8ad4Subtext / captions.#c084fcTertiary FG / metadata tier (kami stone).#34265eDefault border / card edge.#241c42Inner row separator that should not visually compete.#c084fcBrand accent. ≤2 visible uses per screen (lint enforced).#13051fFG when --accent is the bg.#39ff88Success state.#fff34dWarning state.#ff4d8dDanger state.Also named in DESIGN.md
#8b5cf6Token from style foundations.Imagery & layout
Radius
10px16px24px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
4/8/12/16/20/24/32/48
Layout rules
- Spacing scale: 4/8/12/16/20/24/32/48
- Keep vertical rhythm consistent across sections and components.
- Align columns and modules to a predictable grid; avoid ad-hoc offsets.