# Monoplinth — Full documentation > Monoplinth is a numbers-driven React design system by FreshGemUI. An Obsidian to Alabaster 12-step monochrome base carries 90% of the interface, with one brand hue on top. Source: https://monoplinth.freshgemui.com --- Source: https://monoplinth.freshgemui.com/docs (https://monoplinth.freshgemui.com/docs/index.md) # Monoplinth Monoplinth is a numbers-driven React design system by FreshGemUI. An Obsidian to Alabaster 12-step monochrome base carries 90% of the interface, with one brand hue on top. ## Install and import Install `@freshgemui/monoplinth` alongside React 19 and Tailwind CSS v4: ```bash npm install @freshgemui/monoplinth ``` Import Tailwind CSS and the Monoplinth token bridge in your root stylesheet: ```css @import "tailwindcss"; @import "@freshgemui/monoplinth/tokens/theme.css"; @source "../node_modules/@freshgemui/monoplinth/dist"; ``` Import components and typed token constants from the package root: ```tsx import { Card, CardContent, COLOR_SCALES } from "@freshgemui/monoplinth"; ``` ## Foundation guides - [Principles](/docs/principles) — the five rules governing scales, monochrome balance, structure, accessibility, and copy. - [Tokens](/docs/tokens) — the three-tier architecture connecting primitive scales to semantic roles and component contracts. - [Color](/docs/color) — the 60-30-10 rule, 12-step Radix-style roles, literal dark and light HSL ramps, and measured WCAG contrast tables. - [Modes & themes](/docs/modes-and-themes) — dark mode default, `.light` mode switching, `data-theme` brand selection, and the blocking no-flash head script. - [Spacing](/docs/spacing) — the 12-step 4px spacing scale for components (4–48px) and sections (64–128px). - [Sizing](/docs/sizing) — five sizing steps (16–48px) and four paired control height tiers (`xs` to `lg`). - [Radius](/docs/radius) — seven corner-radius steps (`0px` to `9999px`) and concentric nested radius math. - [Borders](/docs/borders) — three pixel border widths (`1px`, `2px`, `4px`) for hairlines, active selection, and accent rules. - [Elevation](/docs/elevation) — four elevation tiers rendering shadows in light mode and `1px` neutral borders in dark mode. - [Layout](/docs/layout) — fluid `320px` to `1920px` scaling across `4 · 8 · 12` columns with `1440px` page and `68ch` prose caps. - [Typography](/docs/typography) — Sora and JetBrains Mono type scales with fixed `16px` body copy and fluid `√φ` headings. - [Iconography](/docs/iconography) — Lucide icons at `16px`, `20px`, and `24px` with constant `2px` `absoluteStrokeWidth`. - [Image ratios](/docs/image-ratios) — five locked aspect ratios (`1:1 · 4:3 · 16:9 · 4:5 · 9:16`). - [Motion](/docs/motion) — five `φ`-derived durations (`100–686ms`) and three restrained cubic-bezier curves. - [States](/docs/states) — step-shifted interactive states, `2px` focus rings, and six named `z-index` layers (`0–50`). - [Voice](/docs/voice) — sentence-case headings, factual sentences, unit formatting, and word-list checks. - [Style boundaries](/docs/style-boundaries) — visual, layout, icon, and copy patterns Monoplinth leaves out, with the tokens it uses instead. ## Component guides - [Button](/docs/components/button) · [Input](/docs/components/input) · [Textarea](/docs/components/textarea) · [Field](/docs/components/field) · [Select](/docs/components/select) · [Checkbox](/docs/components/checkbox) · [Radio](/docs/components/radio) · [Switch](/docs/components/switch) - [Card](/docs/components/card) · [Badge](/docs/components/badge) · [Alert](/docs/components/alert) · [Separator](/docs/components/separator) · [Tabs](/docs/components/tabs) · [Accordion](/docs/components/accordion) - [Dialog](/docs/components/dialog) · [Sheet](/docs/components/sheet) · [Popover](/docs/components/popover) · [Tooltip](/docs/components/tooltip) · [Dropdown](/docs/components/dropdown) · [Toast](/docs/components/toast) ## Machine-readable endpoints - [/llms.txt](/llms.txt) — concise llmstxt.org index linking every documentation Markdown twin. - [/llms-full.txt](/llms-full.txt) — complete documentation corpus concatenated in navigation order with expanded token tables. - [/tokens.json](/tokens.json) — W3C Design Tokens Community Group (DTCG) token manifest across dark and light modes and all four brand themes. --- Source: https://monoplinth.freshgemui.com/docs/principles (https://monoplinth.freshgemui.com/docs/principles.md) # Principles Every layout, component, and documentation page obeys five non-negotiable rules derived from the TypeScript token scales. ## Scale contract data | # | Principle | Enforced rule | Measured token contract | | --- | --- | --- | --- | | 1 | Numbers first | Every size, space, radius, border width, type step, and duration comes from a closed TypeScript scale. | 12 spacing steps (4px · 8px · 12px · 16px · 24px · 32px · 40px · 48px · 64px · 80px · 96px · 128px); 5 sizing steps (16px · 24px · 32px · 40px · 48px); 7 radii; 5 durations (100ms · 162ms · 262ms · 424ms · 686ms) | | 2 | Monochrome is the identity | Obsidian to Alabaster carries 90% of the interface (60% steps 1–2, 30% steps 3–8). Brand hue steps 9–10 earn the remaining 10%. | 8 scales × 12 steps × 2 modes (4 brand themes: mono, verdigris, brass, porphyry) | | 3 | Architectural, not decorative | Sharp structure, hairlines, and visible grid alignment replace gradients and blur. | Borders: 1px, 2px, 4px; grid: 4 cols at 320px+, 8 cols at 768px+, 12 cols at 1024px+; max width 1440px (90rem) | | 4 | Accessible by default | Every token pair and control meets WCAG 2.2 AA contrast, focus ring, and target-size minimums. | 160 primitive checks + 344 semantic checks (4.5:1 text, 3.0:1 controls); 24px minimum target; 2px focus ring with 2px offset | | 5 | Copy leads | Every sentence states a fact or a rule at a comfortable reading measure. | Prose max width 68ch; body fixed at 16px/24px across 320px to 1920px | Closed TypeScript scales define every dimension, monochrome surface ratio, grid column, contrast threshold, and reading measure. No one-off values or decorative overrides exist in components or layouts. ## Usage Apply semantic Tailwind utilities and CSS custom properties that map directly to the five principles: ```tsx

Architectural section

Body text stays at 16px with a 68ch maximum reading width.

``` ```css .architectural-panel { max-width: var(--prose-max-width); padding: var(--space-6); border: var(--border-width-1) solid var(--border); border-radius: var(--card-radius); background-color: var(--card); color: var(--card-foreground); } ``` ## Do and don't - **Do: Use scale tokens and monochrome structure** — Compose surfaces from neutral steps 1–8 (bg-background, bg-card, border-border) and reserve bg-primary for the single primary action. - **Don't: Introduce arbitrary values or decorative color** — Do not write arbitrary classes such as p-[18px], text-[15px], or apply brand and feedback hues to decorative backgrounds. ## Accessibility | Standard | Tokens | Threshold | Coverage | | --- | --- | --- | --- | | Text contrast (WCAG 1.4.3) | Steps 11–12 on steps 1–3; --*-foreground on surfaces | 4.5:1 | 160 primitive checks and 344 semantic checks | | Non-text contrast (WCAG 1.4.11) | --input, --ring, --primary | 3.0:1 | Evaluated against --background in every theme and mode | | Minimum target size (WCAG 2.5.8) | --control-height-xs (1.5rem) | 24px by 24px | Smallest control size (xs) | | Primary mobile touch target | --control-height-lg (3rem) | 48px by 48px | Large control size (lg) | | Use of color (WCAG 1.4.1) | --info, --warning, --destructive, --success | Text + icon required | State is never communicated by hue alone | Every token pair and control size is enforced by automated WCAG 2.2 AA tests before build output is accepted. Interactive states and feedback banners always pair color shifts with text or icon labels. ## Rationale Closed numeric scales remove visual guesswork during implementation and review. Locking default Tailwind scales to the Monoplinth token tiers ensures that every utility class resolves to a contrast-verified color, a 4px grid step, or a φ-derived motion duration. --- Source: https://monoplinth.freshgemui.com/docs/tokens (https://monoplinth.freshgemui.com/docs/tokens.md) # Tokens Every design value passes through a three-tier token architecture: primitive scales feed semantic role tokens, and semantic tokens feed component contracts. Components never read primitive tokens directly. ## Three-tier architecture | Layer | TS source → CSS output | Examples | Contract | | --- | --- | --- | --- | | 1. Primitive | color.ts, scales.ts, layout.ts → color.css, scales.css, layout.css | --obsidian-1 (hsl(220, 6%, 5%)), --verdigris-9 (hsl(175, 32%, 31%)), --space-4 (1rem / 16px), --radius-md (0.5rem / 8px) | 8 color scales × 12 steps, 12 spacing steps, 7 radii, 3 border widths, 4 shadows, 10 type steps, 5 durations, 3 easings, 6 z-index steps. Never read directly by components. | | 2. Semantic | semantic.ts → semantic.css, theme.css | --background, --foreground, --primary, --border, --input, --ring, --code-keyword | 53 role tokens mapped across 4 brand themes (mono, verdigris, brass, porphyry) and 2 modes (dark, light). Bridged to Tailwind utilities via @theme inline. | | 3. Component | components.ts → components.css | --control-height-md (2.5rem / 40px), --focus-ring-width (2px), --card-radius (var(--radius-lg)) | 4 control size contracts (xs, sm, md, lg), focus ring geometry (2px width, 2px offset), and card radius (16px / 1rem). | | Control size | Height token | Icon token | Radius token | | --- | --- | --- | --- | | xs | --control-height-xs: 1.5rem (24px) | --control-icon-xs: 1rem (16px) | --control-radius-xs: var(--radius-sm) (0.25rem / 4px) | | sm | --control-height-sm: 2rem (32px) | --control-icon-sm: 1rem (16px) | --control-radius-sm: var(--radius-sm) (0.25rem / 4px) | | md | --control-height-md: 2.5rem (40px) | --control-icon-md: 1.25rem (20px) | --control-radius-md: var(--radius-md) (0.5rem / 8px) | | lg | --control-height-lg: 3rem (48px) | --control-icon-lg: 1.5rem (24px) | --control-radius-lg: var(--radius-md) (0.5rem / 8px) | TypeScript modules under `packages/monoplinth/src/tokens/` are the single source of truth. Running `npm run tokens:build` emits deterministic CSS custom properties that `theme.css` bridges into Tailwind CSS v4. ## Primitive scale inventory | Scale | Unit | Defined steps from TS | | --- | --- | --- | | Spacing (--space-*) | 16px = 1rem (step = px / 4) | --space-1: 0.25rem (4px) · --space-2: 0.5rem (8px) · --space-3: 0.75rem (12px) · --space-4: 1rem (16px) · --space-6: 1.5rem (24px) · --space-8: 2rem (32px) · --space-10: 2.5rem (40px) · --space-12: 3rem (48px) · --space-16: 4rem (64px) · --space-20: 5rem (80px) · --space-24: 6rem (96px) · --space-32: 8rem (128px) | | Sizing | px / rem | 16px (1rem) · 24px (1.5rem) · 32px (2rem) · 40px (2.5rem) · 48px (3rem) | | Radius (--radius-*) | rem | --radius-none: 0rem (0px) · --radius-xs: 0.125rem (2px) · --radius-sm: 0.25rem (4px) · --radius-md: 0.5rem (8px) · --radius-lg: 1rem (16px) · --radius-xl: 1.5rem (24px) · --radius-full: 624.9375rem (9999px) | | Border width (--border-width-*) | px | --border-width-1: 1px · --border-width-2: 2px · --border-width-4: 4px | | Fonts (--font-*) | family stack | --font-display: Sora, system-ui, -apple-system, sans-serif · --font-sans: Sora, system-ui, -apple-system, sans-serif · --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace | | Motion duration (--duration-*) | ms (φ-based) | --duration-100: 100ms · --duration-162: 162ms · --duration-262: 262ms · --duration-424: 424ms · --duration-686: 686ms | | Motion easing (--ease-*) | cubic-bezier | --ease-standard: cubic-bezier(0.2, 0, 0, 1) · --ease-enter: cubic-bezier(0, 0, 0.2, 1) · --ease-exit: cubic-bezier(0.4, 0, 1, 1) | | Z-index (--z-*) | integer layer | --z-base: 0 · --z-sticky: 10 · --z-dropdown: 20 · --z-overlay: 30 · --z-modal: 40 · --z-toast: 50 | Default Tailwind CSS scales are reset with `--*: initial` in `theme.css`. Only the defined Monoplinth token steps resolve to utility classes. ## Semantic color mapping | Semantic token | Tailwind class | Mono (default) | Verdigris | Brass | Porphyry | | --- | --- | --- | --- | --- | --- | | --background | bg-background | --obsidian-1 (dark: hsl(220, 6%, 5%), light: hsl(220, 6%, 99%)) | --obsidian-1 (dark: hsl(220, 6%, 5%), light: hsl(220, 6%, 99%)) | --obsidian-1 (dark: hsl(220, 6%, 5%), light: hsl(220, 6%, 99%)) | --obsidian-1 (dark: hsl(220, 6%, 5%), light: hsl(220, 6%, 99%)) | | --foreground | text-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --card | bg-card | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | | --card-foreground | text-card-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --popover | bg-popover | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | | --popover-foreground | text-popover-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --primary | bg-primary | --obsidian-9 (dark: hsl(220, 6%, 90%), light: hsl(220, 6%, 13%)) | --verdigris-9 (dark: hsl(175, 32%, 31%), light: hsl(175, 32%, 29%)) | --brass-9 (dark: hsl(42, 34%, 32%), light: hsl(42, 34%, 30%)) | --porphyry-9 (dark: hsl(320, 30%, 41%), light: hsl(320, 30%, 37%)) | | --primary-hover | bg-primary-hover | --obsidian-10 (dark: hsl(220, 6%, 96%), light: hsl(220, 6%, 20%)) | --verdigris-10 (dark: hsl(175, 32%, 34%), light: hsl(175, 32%, 33%)) | --brass-10 (dark: hsl(42, 34%, 35%), light: hsl(42, 34%, 34%)) | --porphyry-10 (dark: hsl(320, 30%, 44%), light: hsl(320, 30%, 42%)) | | --primary-active | bg-primary-active | --obsidian-9 (dark: hsl(220, 6%, 90%), light: hsl(220, 6%, 13%)) | --verdigris-9 (dark: hsl(175, 32%, 31%), light: hsl(175, 32%, 29%)) | --brass-9 (dark: hsl(42, 34%, 32%), light: hsl(42, 34%, 30%)) | --porphyry-9 (dark: hsl(320, 30%, 41%), light: hsl(320, 30%, 37%)) | | --primary-foreground | text-primary-foreground | --obsidian-foreground (dark: hsl(220, 6%, 6%), light: hsl(220, 6%, 98%)) | --verdigris-foreground (dark: hsl(175, 20%, 98%), light: hsl(175, 20%, 98%)) | --brass-foreground (dark: hsl(42, 22%, 98%), light: hsl(42, 22%, 98%)) | --porphyry-foreground (dark: hsl(320, 18%, 98%), light: hsl(320, 18%, 98%)) | | --secondary | bg-secondary | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | | --secondary-hover | bg-secondary-hover | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | | --secondary-active | bg-secondary-active | --obsidian-5 (dark: hsl(220, 5%, 20%), light: hsl(220, 5%, 83%)) | --obsidian-5 (dark: hsl(220, 5%, 20%), light: hsl(220, 5%, 83%)) | --obsidian-5 (dark: hsl(220, 5%, 20%), light: hsl(220, 5%, 83%)) | --obsidian-5 (dark: hsl(220, 5%, 20%), light: hsl(220, 5%, 83%)) | | --secondary-foreground | text-secondary-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --muted | bg-muted | --obsidian-2 (dark: hsl(220, 6%, 8%), light: hsl(220, 6%, 96%)) | --obsidian-2 (dark: hsl(220, 6%, 8%), light: hsl(220, 6%, 96%)) | --obsidian-2 (dark: hsl(220, 6%, 8%), light: hsl(220, 6%, 96%)) | --obsidian-2 (dark: hsl(220, 6%, 8%), light: hsl(220, 6%, 96%)) | | --muted-foreground | text-muted-foreground | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | | --accent | bg-accent | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | --obsidian-4 (dark: hsl(220, 5%, 16%), light: hsl(220, 5%, 88%)) | | --accent-foreground | text-accent-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --border | border-border | --obsidian-7 (dark: hsl(220, 5%, 33%), light: hsl(220, 5%, 66%)) | --obsidian-7 (dark: hsl(220, 5%, 33%), light: hsl(220, 5%, 66%)) | --obsidian-7 (dark: hsl(220, 5%, 33%), light: hsl(220, 5%, 66%)) | --obsidian-7 (dark: hsl(220, 5%, 33%), light: hsl(220, 5%, 66%)) | | --input | border-input | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | | --ring | ring-ring | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --verdigris-8 (dark: hsl(175, 26%, 42%), light: hsl(175, 26%, 43%)) | --brass-8 (dark: hsl(42, 26%, 43%), light: hsl(42, 26%, 44%)) | --porphyry-8 (dark: hsl(320, 24%, 49%), light: hsl(320, 24%, 51%)) | | --destructive | bg-destructive | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | | --destructive-hover | bg-destructive-hover | --red-10 (dark: hsl(356, 74%, 47%), light: hsl(356, 74%, 46%)) | --red-10 (dark: hsl(356, 74%, 47%), light: hsl(356, 74%, 46%)) | --red-10 (dark: hsl(356, 74%, 47%), light: hsl(356, 74%, 46%)) | --red-10 (dark: hsl(356, 74%, 47%), light: hsl(356, 74%, 46%)) | | --destructive-active | bg-destructive-active | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | --red-9 (dark: hsl(356, 74%, 42%), light: hsl(356, 74%, 41%)) | | --destructive-foreground | text-destructive-foreground | --red-foreground (dark: hsl(356, 45%, 98%), light: hsl(356, 45%, 98%)) | --red-foreground (dark: hsl(356, 45%, 98%), light: hsl(356, 45%, 98%)) | --red-foreground (dark: hsl(356, 45%, 98%), light: hsl(356, 45%, 98%)) | --red-foreground (dark: hsl(356, 45%, 98%), light: hsl(356, 45%, 98%)) | | --destructive-text | bg-destructive-text | --red-11 (dark: hsl(356, 70%, 72%), light: hsl(356, 70%, 37%)) | --red-11 (dark: hsl(356, 70%, 72%), light: hsl(356, 70%, 37%)) | --red-11 (dark: hsl(356, 70%, 72%), light: hsl(356, 70%, 37%)) | --red-11 (dark: hsl(356, 70%, 72%), light: hsl(356, 70%, 37%)) | | --destructive-subtle | bg-destructive-subtle | --red-3 (dark: hsl(356, 44%, 12%), light: hsl(356, 50%, 92%)) | --red-3 (dark: hsl(356, 44%, 12%), light: hsl(356, 50%, 92%)) | --red-3 (dark: hsl(356, 44%, 12%), light: hsl(356, 50%, 92%)) | --red-3 (dark: hsl(356, 44%, 12%), light: hsl(356, 50%, 92%)) | | --destructive-border | bg-destructive-border | --red-6 (dark: hsl(356, 56%, 27%), light: hsl(356, 58%, 73%)) | --red-6 (dark: hsl(356, 56%, 27%), light: hsl(356, 58%, 73%)) | --red-6 (dark: hsl(356, 56%, 27%), light: hsl(356, 58%, 73%)) | --red-6 (dark: hsl(356, 56%, 27%), light: hsl(356, 58%, 73%)) | | --disabled | bg-disabled | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | | --disabled-foreground | text-disabled-foreground | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | | --info | bg-info | --blue-9 (dark: hsl(214, 76%, 40%), light: hsl(214, 76%, 39%)) | --blue-9 (dark: hsl(214, 76%, 40%), light: hsl(214, 76%, 39%)) | --blue-9 (dark: hsl(214, 76%, 40%), light: hsl(214, 76%, 39%)) | --blue-9 (dark: hsl(214, 76%, 40%), light: hsl(214, 76%, 39%)) | | --info-foreground | text-info-foreground | --blue-foreground (dark: hsl(214, 45%, 98%), light: hsl(214, 45%, 98%)) | --blue-foreground (dark: hsl(214, 45%, 98%), light: hsl(214, 45%, 98%)) | --blue-foreground (dark: hsl(214, 45%, 98%), light: hsl(214, 45%, 98%)) | --blue-foreground (dark: hsl(214, 45%, 98%), light: hsl(214, 45%, 98%)) | | --info-subtle | bg-info-subtle | --blue-3 (dark: hsl(214, 42%, 12%), light: hsl(214, 50%, 92%)) | --blue-3 (dark: hsl(214, 42%, 12%), light: hsl(214, 50%, 92%)) | --blue-3 (dark: hsl(214, 42%, 12%), light: hsl(214, 50%, 92%)) | --blue-3 (dark: hsl(214, 42%, 12%), light: hsl(214, 50%, 92%)) | | --info-border | bg-info-border | --blue-6 (dark: hsl(214, 52%, 27%), light: hsl(214, 58%, 73%)) | --blue-6 (dark: hsl(214, 52%, 27%), light: hsl(214, 58%, 73%)) | --blue-6 (dark: hsl(214, 52%, 27%), light: hsl(214, 58%, 73%)) | --blue-6 (dark: hsl(214, 52%, 27%), light: hsl(214, 58%, 73%)) | | --info-text | bg-info-text | --blue-11 (dark: hsl(214, 72%, 72%), light: hsl(214, 72%, 35%)) | --blue-11 (dark: hsl(214, 72%, 72%), light: hsl(214, 72%, 35%)) | --blue-11 (dark: hsl(214, 72%, 72%), light: hsl(214, 72%, 35%)) | --blue-11 (dark: hsl(214, 72%, 72%), light: hsl(214, 72%, 35%)) | | --warning | bg-warning | --orange-9 (dark: hsl(28, 88%, 54%), light: hsl(28, 88%, 52%)) | --orange-9 (dark: hsl(28, 88%, 54%), light: hsl(28, 88%, 52%)) | --orange-9 (dark: hsl(28, 88%, 54%), light: hsl(28, 88%, 52%)) | --orange-9 (dark: hsl(28, 88%, 54%), light: hsl(28, 88%, 52%)) | | --warning-foreground | text-warning-foreground | --orange-foreground (dark: hsl(28, 45%, 7%), light: hsl(28, 45%, 7%)) | --orange-foreground (dark: hsl(28, 45%, 7%), light: hsl(28, 45%, 7%)) | --orange-foreground (dark: hsl(28, 45%, 7%), light: hsl(28, 45%, 7%)) | --orange-foreground (dark: hsl(28, 45%, 7%), light: hsl(28, 45%, 7%)) | | --warning-subtle | bg-warning-subtle | --orange-3 (dark: hsl(28, 46%, 12%), light: hsl(28, 56%, 92%)) | --orange-3 (dark: hsl(28, 46%, 12%), light: hsl(28, 56%, 92%)) | --orange-3 (dark: hsl(28, 46%, 12%), light: hsl(28, 56%, 92%)) | --orange-3 (dark: hsl(28, 46%, 12%), light: hsl(28, 56%, 92%)) | | --warning-border | bg-warning-border | --orange-6 (dark: hsl(28, 58%, 26%), light: hsl(28, 66%, 72%)) | --orange-6 (dark: hsl(28, 58%, 26%), light: hsl(28, 66%, 72%)) | --orange-6 (dark: hsl(28, 58%, 26%), light: hsl(28, 66%, 72%)) | --orange-6 (dark: hsl(28, 58%, 26%), light: hsl(28, 66%, 72%)) | | --warning-text | bg-warning-text | --orange-11 (dark: hsl(28, 80%, 68%), light: hsl(28, 78%, 29%)) | --orange-11 (dark: hsl(28, 80%, 68%), light: hsl(28, 78%, 29%)) | --orange-11 (dark: hsl(28, 80%, 68%), light: hsl(28, 78%, 29%)) | --orange-11 (dark: hsl(28, 80%, 68%), light: hsl(28, 78%, 29%)) | | --success | bg-success | --green-9 (dark: hsl(152, 64%, 25%), light: hsl(152, 64%, 24%)) | --green-9 (dark: hsl(152, 64%, 25%), light: hsl(152, 64%, 24%)) | --green-9 (dark: hsl(152, 64%, 25%), light: hsl(152, 64%, 24%)) | --green-9 (dark: hsl(152, 64%, 25%), light: hsl(152, 64%, 24%)) | | --success-foreground | text-success-foreground | --green-foreground (dark: hsl(152, 38%, 98%), light: hsl(152, 38%, 98%)) | --green-foreground (dark: hsl(152, 38%, 98%), light: hsl(152, 38%, 98%)) | --green-foreground (dark: hsl(152, 38%, 98%), light: hsl(152, 38%, 98%)) | --green-foreground (dark: hsl(152, 38%, 98%), light: hsl(152, 38%, 98%)) | | --success-subtle | bg-success-subtle | --green-3 (dark: hsl(152, 38%, 12%), light: hsl(152, 42%, 92%)) | --green-3 (dark: hsl(152, 38%, 12%), light: hsl(152, 42%, 92%)) | --green-3 (dark: hsl(152, 38%, 12%), light: hsl(152, 42%, 92%)) | --green-3 (dark: hsl(152, 38%, 12%), light: hsl(152, 42%, 92%)) | | --success-border | bg-success-border | --green-6 (dark: hsl(152, 48%, 25%), light: hsl(152, 48%, 72%)) | --green-6 (dark: hsl(152, 48%, 25%), light: hsl(152, 48%, 72%)) | --green-6 (dark: hsl(152, 48%, 25%), light: hsl(152, 48%, 72%)) | --green-6 (dark: hsl(152, 48%, 25%), light: hsl(152, 48%, 72%)) | | --success-text | bg-success-text | --green-11 (dark: hsl(152, 56%, 64%), light: hsl(152, 60%, 24%)) | --green-11 (dark: hsl(152, 56%, 64%), light: hsl(152, 60%, 24%)) | --green-11 (dark: hsl(152, 56%, 64%), light: hsl(152, 60%, 24%)) | --green-11 (dark: hsl(152, 56%, 64%), light: hsl(152, 60%, 24%)) | | --code-background | bg-code-background | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | --obsidian-3 (dark: hsl(220, 5%, 12%), light: hsl(220, 5%, 92%)) | | --code-foreground | text-code-foreground | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | | --code-keyword | text-code-keyword | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --verdigris-12 (dark: hsl(175, 24%, 92%), light: hsl(175, 34%, 13%)) | --brass-12 (dark: hsl(42, 26%, 92%), light: hsl(42, 36%, 14%)) | --porphyry-12 (dark: hsl(320, 22%, 93%), light: hsl(320, 32%, 15%)) | | --code-comment | text-code-comment | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | | --code-string | text-code-string | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --verdigris-11 (dark: hsl(175, 28%, 68%), light: hsl(175, 30%, 28%)) | --brass-11 (dark: hsl(42, 30%, 68%), light: hsl(42, 32%, 29%)) | --porphyry-11 (dark: hsl(320, 26%, 72%), light: hsl(320, 28%, 35%)) | | --code-number | text-code-number | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --verdigris-11 (dark: hsl(175, 28%, 68%), light: hsl(175, 30%, 28%)) | --brass-11 (dark: hsl(42, 30%, 68%), light: hsl(42, 32%, 29%)) | --porphyry-11 (dark: hsl(320, 26%, 72%), light: hsl(320, 28%, 35%)) | | --code-function | text-code-function | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --verdigris-12 (dark: hsl(175, 24%, 92%), light: hsl(175, 34%, 13%)) | --brass-12 (dark: hsl(42, 26%, 92%), light: hsl(42, 36%, 14%)) | --porphyry-12 (dark: hsl(320, 22%, 93%), light: hsl(320, 32%, 15%)) | | --code-punctuation | text-code-punctuation | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | Each semantic token references a primitive color variable (`var(---)`). Switching modes updates the primitive values under `.light`, while switching brand themes updates only the brand-driven semantic slots under `[data-theme]`. ## Usage Reference semantic and component tokens through Tailwind CSS v4 utilities or CSS custom properties: ```tsx ``` ```css .control-md { height: var(--control-height-md); padding-inline: var(--space-4); border-radius: var(--control-radius-md); background-color: var(--primary); color: var(--primary-foreground); transition: background-color var(--duration-162) var(--ease-standard); } .control-md:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); } ``` ## Do and don't - **Do: Consume semantic and component tiers** — Bind component styles to semantic tokens (bg-card, text-foreground, border-border, ring-ring) and component tokens (--control-height-md, --card-radius). - **Don't: Read primitive color steps in components** — Do not reference --obsidian-3, --verdigris-9, or raw hsl() strings inside component stylesheets; only docs swatch demos read primitive color tokens. ## Accessibility | Category | TS source | Output unit and tokens | Accessibility rule | | --- | --- | --- | --- | | Fluid and scalable dimensions | scales.ts, components.ts, layout.ts | rem (16px root base, px / 16) | Scales spacing, control heights, and typography with browser zoom | | Crisp structural hairlines | scales.ts | --border-width-1 (1px), --border-width-2 (2px), --border-width-4 (4px) | Keeps borders sharp in px at every zoom level | | Focus ring geometry | components.ts | --focus-ring-width (2px), --focus-ring-offset (2px) | Maintains a visible outline on :focus-visible | Scalable layout and typography dimensions convert to `rem` so interfaces respect browser zoom and user font-size preferences. Structural hairlines and focus rings stay in `px`, and every semantic foreground pair is verified against WCAG 2.2 AA contrast thresholds. ## Rationale Separating primitive scales from semantic roles allows a single component stylesheet to support dark mode, light mode, and four brand themes without conditional class branches. Generating CSS from typed TypeScript modules prevents drift between runtime calculations, contrast audits, and compiled stylesheets. --- Source: https://monoplinth.freshgemui.com/docs/color (https://monoplinth.freshgemui.com/docs/color.md) # Color Color follows a 60-30-10 monochrome-first ratio built on eight 12-step HSL scales, where every text, control, and solid-fill pair is verified against measured WCAG 2.2 AA contrast. ## 60-30-10 and step roles | Share | Source | Tokens | | --- | --- | --- | | 60% | Neutral steps 1–2 (app and subtle backgrounds) | --obsidian-1, --obsidian-2 | | 30% | Neutral steps 3–8 (cards, surfaces, borders) | --obsidian-3 to --obsidian-8 | | 10% | Brand hue steps 9–10 (primary actions, links, active states) | step 9 and step 10 | | Steps | Role | | --- | --- | | 1–2 | App and subtle backgrounds | | 3–5 | Component backgrounds (default, hover, pressed) | | 6–8 | Borders (subtle, default, strong / focus) | | 9–10 | Solid fills (default, hover) | | 11–12 | Text (secondary, primary) | HSL lightness is not perceptually uniform, so dark and light modes each define their own hand-tuned 12-step ramp rather than reversing a single scale. Every scale assigns identical functional roles to steps 1 through 12. ## Neutral scale (60% and 30%) ### Obsidian (`obsidian`, hue 220°, category: neutral) On-solid foreground: `--obsidian-foreground` dark `hsl(220, 6%, 6%)`, light `hsl(220, 6%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --obsidian-1 | App background | hsl(220, 6%, 5%) | hsl(220, 6%, 99%) | | 2 | --obsidian-2 | Subtle background | hsl(220, 6%, 8%) | hsl(220, 6%, 96%) | | 3 | --obsidian-3 | Component background (default) | hsl(220, 5%, 12%) | hsl(220, 5%, 92%) | | 4 | --obsidian-4 | Component background (hover) | hsl(220, 5%, 16%) | hsl(220, 5%, 88%) | | 5 | --obsidian-5 | Component background (pressed) | hsl(220, 5%, 20%) | hsl(220, 5%, 83%) | | 6 | --obsidian-6 | Subtle border | hsl(220, 5%, 25%) | hsl(220, 5%, 76%) | | 7 | --obsidian-7 | Default border | hsl(220, 5%, 33%) | hsl(220, 5%, 66%) | | 8 | --obsidian-8 | Strong border / focus | hsl(220, 5%, 46%) | hsl(220, 5%, 50%) | | 9 | --obsidian-9 | Solid fill (default) | hsl(220, 6%, 90%) | hsl(220, 6%, 13%) | | 10 | --obsidian-10 | Solid fill (hover) | hsl(220, 6%, 96%) | hsl(220, 6%, 20%) | | 11 | --obsidian-11 | Secondary text | hsl(220, 5%, 68%) | hsl(220, 5%, 36%) | | 12 | --obsidian-12 | Primary text | hsl(220, 6%, 95%) | hsl(220, 6%, 10%) | Obsidian (`obsidian`, hue `220°`) forms the monochrome plinth from deep backgrounds to Alabaster text and solid fills. The default Mono brand theme reuses Obsidian steps for focus rings, primary fills, and code accents. ## Brand scales (10%) ### Verdigris (`verdigris`, hue 175°, category: brand) On-solid foreground: `--verdigris-foreground` dark `hsl(175, 20%, 98%)`, light `hsl(175, 20%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --verdigris-1 | App background | hsl(175, 16%, 5%) | hsl(175, 20%, 99%) | | 2 | --verdigris-2 | Subtle background | hsl(175, 16%, 8%) | hsl(175, 20%, 96%) | | 3 | --verdigris-3 | Component background (default) | hsl(175, 18%, 12%) | hsl(175, 22%, 92%) | | 4 | --verdigris-4 | Component background (hover) | hsl(175, 20%, 16%) | hsl(175, 22%, 87%) | | 5 | --verdigris-5 | Component background (pressed) | hsl(175, 22%, 20%) | hsl(175, 24%, 81%) | | 6 | --verdigris-6 | Subtle border | hsl(175, 22%, 25%) | hsl(175, 24%, 73%) | | 7 | --verdigris-7 | Default border | hsl(175, 24%, 31%) | hsl(175, 24%, 61%) | | 8 | --verdigris-8 | Strong border / focus | hsl(175, 26%, 42%) | hsl(175, 26%, 43%) | | 9 | --verdigris-9 | Solid fill (default) | hsl(175, 32%, 31%) | hsl(175, 32%, 29%) | | 10 | --verdigris-10 | Solid fill (hover) | hsl(175, 32%, 34%) | hsl(175, 32%, 33%) | | 11 | --verdigris-11 | Secondary text | hsl(175, 28%, 68%) | hsl(175, 30%, 28%) | | 12 | --verdigris-12 | Primary text | hsl(175, 24%, 92%) | hsl(175, 34%, 13%) | ### Brass (`brass`, hue 42°, category: brand) On-solid foreground: `--brass-foreground` dark `hsl(42, 22%, 98%)`, light `hsl(42, 22%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --brass-1 | App background | hsl(42, 16%, 5%) | hsl(42, 22%, 99%) | | 2 | --brass-2 | Subtle background | hsl(42, 16%, 8%) | hsl(42, 22%, 96%) | | 3 | --brass-3 | Component background (default) | hsl(42, 18%, 12%) | hsl(42, 22%, 92%) | | 4 | --brass-4 | Component background (hover) | hsl(42, 20%, 16%) | hsl(42, 24%, 87%) | | 5 | --brass-5 | Component background (pressed) | hsl(42, 22%, 20%) | hsl(42, 24%, 81%) | | 6 | --brass-6 | Subtle border | hsl(42, 22%, 25%) | hsl(42, 24%, 73%) | | 7 | --brass-7 | Default border | hsl(42, 24%, 32%) | hsl(42, 24%, 61%) | | 8 | --brass-8 | Strong border / focus | hsl(42, 26%, 43%) | hsl(42, 26%, 44%) | | 9 | --brass-9 | Solid fill (default) | hsl(42, 34%, 32%) | hsl(42, 34%, 30%) | | 10 | --brass-10 | Solid fill (hover) | hsl(42, 34%, 35%) | hsl(42, 34%, 34%) | | 11 | --brass-11 | Secondary text | hsl(42, 30%, 68%) | hsl(42, 32%, 29%) | | 12 | --brass-12 | Primary text | hsl(42, 26%, 92%) | hsl(42, 36%, 14%) | ### Porphyry (`porphyry`, hue 320°, category: brand) On-solid foreground: `--porphyry-foreground` dark `hsl(320, 18%, 98%)`, light `hsl(320, 18%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --porphyry-1 | App background | hsl(320, 14%, 5%) | hsl(320, 18%, 99%) | | 2 | --porphyry-2 | Subtle background | hsl(320, 14%, 8%) | hsl(320, 18%, 96%) | | 3 | --porphyry-3 | Component background (default) | hsl(320, 16%, 12%) | hsl(320, 18%, 92%) | | 4 | --porphyry-4 | Component background (hover) | hsl(320, 18%, 16%) | hsl(320, 20%, 87%) | | 5 | --porphyry-5 | Component background (pressed) | hsl(320, 20%, 20%) | hsl(320, 20%, 82%) | | 6 | --porphyry-6 | Subtle border | hsl(320, 20%, 26%) | hsl(320, 20%, 74%) | | 7 | --porphyry-7 | Default border | hsl(320, 22%, 34%) | hsl(320, 22%, 63%) | | 8 | --porphyry-8 | Strong border / focus | hsl(320, 24%, 49%) | hsl(320, 24%, 51%) | | 9 | --porphyry-9 | Solid fill (default) | hsl(320, 30%, 41%) | hsl(320, 30%, 37%) | | 10 | --porphyry-10 | Solid fill (hover) | hsl(320, 30%, 44%) | hsl(320, 30%, 42%) | | 11 | --porphyry-11 | Secondary text | hsl(320, 26%, 72%) | hsl(320, 28%, 35%) | | 12 | --porphyry-12 | Primary text | hsl(320, 22%, 93%) | hsl(320, 32%, 15%) | Brand themes occupy at most 10% of the viewport on primary actions, active indicators, focus rings, and syntax highlights. Saturation stays muted (`<= 36%`) so brand hues read as architectural materials rather than status alerts. ## Feedback scales | Primitive scale | Semantic fill token | Semantic foreground token | Foreground value (dark / light) | | --- | --- | --- | --- | | blue (214°) | --info (--blue-9) | --info-foreground (--blue-foreground) | hsl(214, 45%, 98%) / hsl(214, 45%, 98%) | | orange (28°) | --warning (--orange-9) | --warning-foreground (--orange-foreground) | hsl(28, 45%, 7%) / hsl(28, 45%, 7%) | | red (356°) | --destructive (--red-9) | --destructive-foreground (--red-foreground) | hsl(356, 45%, 98%) / hsl(356, 45%, 98%) | | green (152°) | --success (--green-9) | --success-foreground (--green-foreground) | hsl(152, 38%, 98%) / hsl(152, 38%, 98%) | ### Blue (`blue`, hue 214°, category: feedback) On-solid foreground: `--blue-foreground` dark `hsl(214, 45%, 98%)`, light `hsl(214, 45%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --blue-1 | App background | hsl(214, 35%, 5%) | hsl(214, 45%, 99%) | | 2 | --blue-2 | Subtle background | hsl(214, 38%, 8%) | hsl(214, 45%, 96%) | | 3 | --blue-3 | Component background (default) | hsl(214, 42%, 12%) | hsl(214, 50%, 92%) | | 4 | --blue-4 | Component background (hover) | hsl(214, 46%, 16%) | hsl(214, 54%, 87%) | | 5 | --blue-5 | Component background (pressed) | hsl(214, 50%, 21%) | hsl(214, 56%, 81%) | | 6 | --blue-6 | Subtle border | hsl(214, 52%, 27%) | hsl(214, 58%, 73%) | | 7 | --blue-7 | Default border | hsl(214, 56%, 35%) | hsl(214, 60%, 62%) | | 8 | --blue-8 | Strong border / focus | hsl(214, 62%, 50%) | hsl(214, 64%, 50%) | | 9 | --blue-9 | Solid fill (default) | hsl(214, 76%, 40%) | hsl(214, 76%, 39%) | | 10 | --blue-10 | Solid fill (hover) | hsl(214, 76%, 45%) | hsl(214, 76%, 44%) | | 11 | --blue-11 | Secondary text | hsl(214, 72%, 72%) | hsl(214, 72%, 35%) | | 12 | --blue-12 | Primary text | hsl(214, 68%, 93%) | hsl(214, 76%, 16%) | ### Orange (`orange`, hue 28°, category: feedback) On-solid foreground: `--orange-foreground` dark `hsl(28, 45%, 7%)`, light `hsl(28, 45%, 7%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --orange-1 | App background | hsl(28, 38%, 5%) | hsl(28, 50%, 99%) | | 2 | --orange-2 | Subtle background | hsl(28, 42%, 8%) | hsl(28, 52%, 96%) | | 3 | --orange-3 | Component background (default) | hsl(28, 46%, 12%) | hsl(28, 56%, 92%) | | 4 | --orange-4 | Component background (hover) | hsl(28, 50%, 16%) | hsl(28, 60%, 87%) | | 5 | --orange-5 | Component background (pressed) | hsl(28, 54%, 20%) | hsl(28, 64%, 81%) | | 6 | --orange-6 | Subtle border | hsl(28, 58%, 26%) | hsl(28, 66%, 72%) | | 7 | --orange-7 | Default border | hsl(28, 62%, 33%) | hsl(28, 68%, 60%) | | 8 | --orange-8 | Strong border / focus | hsl(28, 70%, 44%) | hsl(28, 72%, 43%) | | 9 | --orange-9 | Solid fill (default) | hsl(28, 88%, 54%) | hsl(28, 88%, 52%) | | 10 | --orange-10 | Solid fill (hover) | hsl(28, 88%, 60%) | hsl(28, 88%, 58%) | | 11 | --orange-11 | Secondary text | hsl(28, 80%, 68%) | hsl(28, 78%, 29%) | | 12 | --orange-12 | Primary text | hsl(28, 76%, 92%) | hsl(28, 82%, 14%) | ### Red (`red`, hue 356°, category: feedback) On-solid foreground: `--red-foreground` dark `hsl(356, 45%, 98%)`, light `hsl(356, 45%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --red-1 | App background | hsl(356, 36%, 5%) | hsl(356, 45%, 99%) | | 2 | --red-2 | Subtle background | hsl(356, 40%, 8%) | hsl(356, 45%, 96%) | | 3 | --red-3 | Component background (default) | hsl(356, 44%, 12%) | hsl(356, 50%, 92%) | | 4 | --red-4 | Component background (hover) | hsl(356, 48%, 16%) | hsl(356, 54%, 87%) | | 5 | --red-5 | Component background (pressed) | hsl(356, 52%, 21%) | hsl(356, 56%, 81%) | | 6 | --red-6 | Subtle border | hsl(356, 56%, 27%) | hsl(356, 58%, 73%) | | 7 | --red-7 | Default border | hsl(356, 60%, 36%) | hsl(356, 60%, 63%) | | 8 | --red-8 | Strong border / focus | hsl(356, 64%, 52%) | hsl(356, 64%, 52%) | | 9 | --red-9 | Solid fill (default) | hsl(356, 74%, 42%) | hsl(356, 74%, 41%) | | 10 | --red-10 | Solid fill (hover) | hsl(356, 74%, 47%) | hsl(356, 74%, 46%) | | 11 | --red-11 | Secondary text | hsl(356, 70%, 72%) | hsl(356, 70%, 37%) | | 12 | --red-12 | Primary text | hsl(356, 66%, 93%) | hsl(356, 74%, 16%) | ### Green (`green`, hue 152°, category: feedback) On-solid foreground: `--green-foreground` dark `hsl(152, 38%, 98%)`, light `hsl(152, 38%, 98%)`. | Step | Token | Role | Dark (literal HSL) | Light (literal HSL) | | --- | --- | --- | --- | --- | | 1 | --green-1 | App background | hsl(152, 32%, 5%) | hsl(152, 38%, 99%) | | 2 | --green-2 | Subtle background | hsl(152, 34%, 8%) | hsl(152, 38%, 96%) | | 3 | --green-3 | Component background (default) | hsl(152, 38%, 12%) | hsl(152, 42%, 92%) | | 4 | --green-4 | Component background (hover) | hsl(152, 42%, 16%) | hsl(152, 44%, 87%) | | 5 | --green-5 | Component background (pressed) | hsl(152, 46%, 20%) | hsl(152, 46%, 81%) | | 6 | --green-6 | Subtle border | hsl(152, 48%, 25%) | hsl(152, 48%, 72%) | | 7 | --green-7 | Default border | hsl(152, 50%, 31%) | hsl(152, 50%, 59%) | | 8 | --green-8 | Strong border / focus | hsl(152, 54%, 41%) | hsl(152, 54%, 37%) | | 9 | --green-9 | Solid fill (default) | hsl(152, 64%, 25%) | hsl(152, 64%, 24%) | | 10 | --green-10 | Solid fill (hover) | hsl(152, 64%, 28%) | hsl(152, 64%, 27%) | | 11 | --green-11 | Secondary text | hsl(152, 56%, 64%) | hsl(152, 60%, 24%) | | 12 | --green-12 | Primary text | hsl(152, 52%, 91%) | hsl(152, 64%, 11%) | Feedback scales lie outside the 60-30-10 ratio and serve functional status communication only. State is never shown by color alone (WCAG 1.4.1): always pair feedback colors with explicit text or a semantic icon. ## Measured WCAG contrast audit | Audit scope | Evaluated token pairs | Minimum ratio | Verified check count | | --- | --- | --- | --- | | Primitive text | Steps 11 and 12 on steps 1–3 | 4.5:1 (WCAG 1.4.3) | 8 scales × 2 modes × 6 pairs = 96 | | Primitive control / focus | Step 8 on steps 1–2 | 3.0:1 (WCAG 1.4.11) | 8 scales × 2 modes × 2 pairs = 32 | | Primitive solid fill | ---foreground on steps 9–10 | 4.5:1 (WCAG 1.4.3) | 8 scales × 2 modes × 2 pairs = 32 | | Primitive audit total | 10 required pairs per scale and mode | 100% pass | 160 total primitive checks | | Semantic audit total | 43 surface, control, and syntax pairs per theme and mode | 4.5:1 text / 3.0:1 control | 4 themes × 2 modes × 43 pairs = 344 total semantic checks | | Scale | Mode | Pair | Ratio | Threshold | Status | | --- | --- | --- | --- | --- | --- | | obsidian | dark | step 11 on 1 | 8.58:1 | 4.5:1 | Pass | | obsidian | dark | step 11 on 2 | 8.11:1 | 4.5:1 | Pass | | obsidian | dark | step 11 on 3 | 7.33:1 | 4.5:1 | Pass | | obsidian | dark | step 12 on 1 | 17.42:1 | 4.5:1 | Pass | | obsidian | dark | step 12 on 2 | 16.46:1 | 4.5:1 | Pass | | obsidian | dark | step 12 on 3 | 14.88:1 | 4.5:1 | Pass | | obsidian | dark | step 8 on 1 | 4.12:1 | 3.0:1 | Pass | | obsidian | dark | step 8 on 2 | 3.89:1 | 3.0:1 | Pass | | obsidian | dark | foreground on 9 | 15.21:1 | 4.5:1 | Pass | | obsidian | dark | foreground on 10 | 17.52:1 | 4.5:1 | Pass | | obsidian | light | step 11 on 1 | 6.74:1 | 4.5:1 | Pass | | obsidian | light | step 11 on 2 | 6.29:1 | 4.5:1 | Pass | | obsidian | light | step 11 on 3 | 5.74:1 | 4.5:1 | Pass | | obsidian | light | step 12 on 1 | 17.21:1 | 4.5:1 | Pass | | obsidian | light | step 12 on 2 | 16.08:1 | 4.5:1 | Pass | | obsidian | light | step 12 on 3 | 14.65:1 | 4.5:1 | Pass | | obsidian | light | step 8 on 1 | 4.02:1 | 3.0:1 | Pass | | obsidian | light | step 8 on 2 | 3.75:1 | 3.0:1 | Pass | | obsidian | light | foreground on 9 | 15.51:1 | 4.5:1 | Pass | | obsidian | light | foreground on 10 | 12.29:1 | 4.5:1 | Pass | | verdigris | dark | step 11 on 1 | 10.11:1 | 4.5:1 | Pass | | verdigris | dark | step 11 on 2 | 9.44:1 | 4.5:1 | Pass | | verdigris | dark | step 11 on 3 | 8.33:1 | 4.5:1 | Pass | | verdigris | dark | step 12 on 1 | 16.55:1 | 4.5:1 | Pass | | verdigris | dark | step 12 on 2 | 15.46:1 | 4.5:1 | Pass | | verdigris | dark | step 12 on 3 | 13.64:1 | 4.5:1 | Pass | | verdigris | dark | step 8 on 1 | 4.71:1 | 3.0:1 | Pass | | verdigris | dark | step 8 on 2 | 4.40:1 | 3.0:1 | Pass | | verdigris | dark | foreground on 9 | 6.06:1 | 4.5:1 | Pass | | verdigris | dark | foreground on 10 | 5.27:1 | 4.5:1 | Pass | | verdigris | light | step 11 on 1 | 7.25:1 | 4.5:1 | Pass | | verdigris | light | step 11 on 2 | 6.84:1 | 4.5:1 | Pass | | verdigris | light | step 11 on 3 | 6.33:1 | 4.5:1 | Pass | | verdigris | light | step 12 on 1 | 14.36:1 | 4.5:1 | Pass | | verdigris | light | step 12 on 2 | 13.54:1 | 4.5:1 | Pass | | verdigris | light | step 12 on 3 | 12.52:1 | 4.5:1 | Pass | | verdigris | light | step 8 on 1 | 3.86:1 | 3.0:1 | Pass | | verdigris | light | step 8 on 2 | 3.64:1 | 3.0:1 | Pass | | verdigris | light | foreground on 9 | 6.67:1 | 4.5:1 | Pass | | verdigris | light | foreground on 10 | 5.52:1 | 4.5:1 | Pass | | brass | dark | step 11 on 1 | 9.79:1 | 4.5:1 | Pass | | brass | dark | step 11 on 2 | 9.17:1 | 4.5:1 | Pass | | brass | dark | step 11 on 3 | 8.14:1 | 4.5:1 | Pass | | brass | dark | step 12 on 1 | 16.51:1 | 4.5:1 | Pass | | brass | dark | step 12 on 2 | 15.46:1 | 4.5:1 | Pass | | brass | dark | step 12 on 3 | 13.73:1 | 4.5:1 | Pass | | brass | dark | step 8 on 1 | 4.55:1 | 3.0:1 | Pass | | brass | dark | step 8 on 2 | 4.26:1 | 3.0:1 | Pass | | brass | dark | foreground on 9 | 6.19:1 | 4.5:1 | Pass | | brass | dark | foreground on 10 | 5.41:1 | 4.5:1 | Pass | | brass | light | step 11 on 1 | 7.32:1 | 4.5:1 | Pass | | brass | light | step 11 on 2 | 6.90:1 | 4.5:1 | Pass | | brass | light | step 11 on 3 | 6.35:1 | 4.5:1 | Pass | | brass | light | step 12 on 1 | 14.15:1 | 4.5:1 | Pass | | brass | light | step 12 on 2 | 13.32:1 | 4.5:1 | Pass | | brass | light | step 12 on 3 | 12.27:1 | 4.5:1 | Pass | | brass | light | step 8 on 1 | 4.01:1 | 3.0:1 | Pass | | brass | light | step 8 on 2 | 3.77:1 | 3.0:1 | Pass | | brass | light | foreground on 9 | 6.78:1 | 4.5:1 | Pass | | brass | light | foreground on 10 | 5.65:1 | 4.5:1 | Pass | | porphyry | dark | step 11 on 1 | 8.98:1 | 4.5:1 | Pass | | porphyry | dark | step 11 on 2 | 8.52:1 | 4.5:1 | Pass | | porphyry | dark | step 11 on 3 | 7.78:1 | 4.5:1 | Pass | | porphyry | dark | step 12 on 1 | 16.46:1 | 4.5:1 | Pass | | porphyry | dark | step 12 on 2 | 15.61:1 | 4.5:1 | Pass | | porphyry | dark | step 12 on 3 | 14.25:1 | 4.5:1 | Pass | | porphyry | dark | step 8 on 1 | 4.08:1 | 3.0:1 | Pass | | porphyry | dark | step 8 on 2 | 3.87:1 | 3.0:1 | Pass | | porphyry | dark | foreground on 9 | 6.16:1 | 4.5:1 | Pass | | porphyry | dark | foreground on 10 | 5.54:1 | 4.5:1 | Pass | | porphyry | light | step 11 on 1 | 7.79:1 | 4.5:1 | Pass | | porphyry | light | step 11 on 2 | 7.25:1 | 4.5:1 | Pass | | porphyry | light | step 11 on 3 | 6.56:1 | 4.5:1 | Pass | | porphyry | light | step 12 on 1 | 15.54:1 | 4.5:1 | Pass | | porphyry | light | step 12 on 2 | 14.46:1 | 4.5:1 | Pass | | porphyry | light | step 12 on 3 | 13.09:1 | 4.5:1 | Pass | | porphyry | light | step 8 on 1 | 4.36:1 | 3.0:1 | Pass | | porphyry | light | step 8 on 2 | 4.06:1 | 3.0:1 | Pass | | porphyry | light | foreground on 9 | 7.11:1 | 4.5:1 | Pass | | porphyry | light | foreground on 10 | 5.95:1 | 4.5:1 | Pass | | blue | dark | step 11 on 1 | 8.82:1 | 4.5:1 | Pass | | blue | dark | step 11 on 2 | 8.37:1 | 4.5:1 | Pass | | blue | dark | step 11 on 3 | 7.65:1 | 4.5:1 | Pass | | blue | dark | step 12 on 1 | 16.34:1 | 4.5:1 | Pass | | blue | dark | step 12 on 2 | 15.51:1 | 4.5:1 | Pass | | blue | dark | step 12 on 3 | 14.18:1 | 4.5:1 | Pass | | blue | dark | step 8 on 1 | 4.26:1 | 3.0:1 | Pass | | blue | dark | step 8 on 2 | 4.04:1 | 3.0:1 | Pass | | blue | dark | foreground on 9 | 6.22:1 | 4.5:1 | Pass | | blue | dark | foreground on 10 | 5.20:1 | 4.5:1 | Pass | | blue | light | step 11 on 1 | 7.67:1 | 4.5:1 | Pass | | blue | light | step 11 on 2 | 7.13:1 | 4.5:1 | Pass | | blue | light | step 11 on 3 | 6.43:1 | 4.5:1 | Pass | | blue | light | step 12 on 1 | 15.01:1 | 4.5:1 | Pass | | blue | light | step 12 on 2 | 13.94:1 | 4.5:1 | Pass | | blue | light | step 12 on 3 | 12.58:1 | 4.5:1 | Pass | | blue | light | step 8 on 1 | 4.49:1 | 3.0:1 | Pass | | blue | light | step 8 on 2 | 4.17:1 | 3.0:1 | Pass | | blue | light | foreground on 9 | 6.46:1 | 4.5:1 | Pass | | blue | light | foreground on 10 | 5.39:1 | 4.5:1 | Pass | | orange | dark | step 11 on 1 | 9.75:1 | 4.5:1 | Pass | | orange | dark | step 11 on 2 | 9.13:1 | 4.5:1 | Pass | | orange | dark | step 11 on 3 | 8.12:1 | 4.5:1 | Pass | | orange | dark | step 12 on 1 | 16.45:1 | 4.5:1 | Pass | | orange | dark | step 12 on 2 | 15.41:1 | 4.5:1 | Pass | | orange | dark | step 12 on 3 | 13.70:1 | 4.5:1 | Pass | | orange | dark | step 8 on 1 | 4.92:1 | 3.0:1 | Pass | | orange | dark | step 8 on 2 | 4.61:1 | 3.0:1 | Pass | | orange | dark | foreground on 9 | 7.08:1 | 4.5:1 | Pass | | orange | dark | foreground on 10 | 8.01:1 | 4.5:1 | Pass | | orange | light | step 11 on 1 | 7.19:1 | 4.5:1 | Pass | | orange | light | step 11 on 2 | 6.75:1 | 4.5:1 | Pass | | orange | light | step 11 on 3 | 6.20:1 | 4.5:1 | Pass | | orange | light | step 12 on 1 | 14.15:1 | 4.5:1 | Pass | | orange | light | step 12 on 2 | 13.29:1 | 4.5:1 | Pass | | orange | light | step 12 on 3 | 12.20:1 | 4.5:1 | Pass | | orange | light | step 8 on 1 | 3.98:1 | 3.0:1 | Pass | | orange | light | step 8 on 2 | 3.74:1 | 3.0:1 | Pass | | orange | light | foreground on 9 | 6.80:1 | 4.5:1 | Pass | | orange | light | foreground on 10 | 7.68:1 | 4.5:1 | Pass | | red | dark | step 11 on 1 | 7.76:1 | 4.5:1 | Pass | | red | dark | step 11 on 2 | 7.43:1 | 4.5:1 | Pass | | red | dark | step 11 on 3 | 6.89:1 | 4.5:1 | Pass | | red | dark | step 12 on 1 | 15.93:1 | 4.5:1 | Pass | | red | dark | step 12 on 2 | 15.26:1 | 4.5:1 | Pass | | red | dark | step 12 on 3 | 14.15:1 | 4.5:1 | Pass | | red | dark | step 8 on 1 | 4.11:1 | 3.0:1 | Pass | | red | dark | step 8 on 2 | 3.94:1 | 3.0:1 | Pass | | red | dark | foreground on 9 | 6.04:1 | 4.5:1 | Pass | | red | dark | foreground on 10 | 5.06:1 | 4.5:1 | Pass | | red | light | step 11 on 1 | 7.57:1 | 4.5:1 | Pass | | red | light | step 11 on 2 | 6.97:1 | 4.5:1 | Pass | | red | light | step 11 on 3 | 6.18:1 | 4.5:1 | Pass | | red | light | step 12 on 1 | 15.47:1 | 4.5:1 | Pass | | red | light | step 12 on 2 | 14.23:1 | 4.5:1 | Pass | | red | light | step 12 on 3 | 12.63:1 | 4.5:1 | Pass | | red | light | step 8 on 1 | 4.67:1 | 3.0:1 | Pass | | red | light | step 8 on 2 | 4.30:1 | 3.0:1 | Pass | | red | light | foreground on 9 | 6.27:1 | 4.5:1 | Pass | | red | light | foreground on 10 | 5.24:1 | 4.5:1 | Pass | | green | dark | step 11 on 1 | 10.88:1 | 4.5:1 | Pass | | green | dark | step 11 on 2 | 10.03:1 | 4.5:1 | Pass | | green | dark | step 11 on 3 | 8.62:1 | 4.5:1 | Pass | | green | dark | step 12 on 1 | 16.57:1 | 4.5:1 | Pass | | green | dark | step 12 on 2 | 15.28:1 | 4.5:1 | Pass | | green | dark | step 12 on 3 | 13.14:1 | 4.5:1 | Pass | | green | dark | step 8 on 1 | 5.88:1 | 3.0:1 | Pass | | green | dark | step 8 on 2 | 5.42:1 | 3.0:1 | Pass | | green | dark | foreground on 9 | 6.50:1 | 4.5:1 | Pass | | green | dark | foreground on 10 | 5.49:1 | 4.5:1 | Pass | | green | light | step 11 on 1 | 7.22:1 | 4.5:1 | Pass | | green | light | step 11 on 2 | 6.85:1 | 4.5:1 | Pass | | green | light | step 11 on 3 | 6.40:1 | 4.5:1 | Pass | | green | light | step 12 on 1 | 14.51:1 | 4.5:1 | Pass | | green | light | step 12 on 2 | 13.76:1 | 4.5:1 | Pass | | green | light | step 12 on 3 | 12.85:1 | 4.5:1 | Pass | | green | light | step 8 on 1 | 3.86:1 | 3.0:1 | Pass | | green | light | step 8 on 2 | 3.66:1 | 3.0:1 | Pass | | green | light | foreground on 9 | 6.88:1 | 4.5:1 | Pass | | green | light | foreground on 10 | 5.81:1 | 4.5:1 | Pass | | Theme | Mode | Pair | Ratio | Threshold | Status | | --- | --- | --- | --- | --- | --- | | mono | dark | foreground on background | 17.42:1 | 4.5:1 | Pass | | mono | dark | card-foreground on card | 14.88:1 | 4.5:1 | Pass | | mono | dark | popover-foreground on popover | 14.88:1 | 4.5:1 | Pass | | mono | dark | primary-foreground on primary | 15.21:1 | 4.5:1 | Pass | | mono | dark | primary-foreground on primary-hover | 17.52:1 | 4.5:1 | Pass | | mono | dark | primary-foreground on primary-active | 15.21:1 | 4.5:1 | Pass | | mono | dark | secondary-foreground on secondary | 14.88:1 | 4.5:1 | Pass | | mono | dark | secondary-foreground on secondary-hover | 13.16:1 | 4.5:1 | Pass | | mono | dark | secondary-foreground on secondary-active | 11.44:1 | 4.5:1 | Pass | | mono | dark | muted-foreground on muted | 8.11:1 | 4.5:1 | Pass | | mono | dark | accent-foreground on accent | 13.16:1 | 4.5:1 | Pass | | mono | dark | destructive-foreground on destructive | 6.04:1 | 4.5:1 | Pass | | mono | dark | destructive-foreground on destructive-hover | 5.06:1 | 4.5:1 | Pass | | mono | dark | destructive-foreground on destructive-active | 6.04:1 | 4.5:1 | Pass | | mono | dark | destructive-text on background | 7.67:1 | 4.5:1 | Pass | | mono | dark | destructive-text on card | 6.55:1 | 4.5:1 | Pass | | mono | dark | destructive-text on destructive-subtle | 6.89:1 | 4.5:1 | Pass | | mono | dark | foreground on destructive-subtle | 15.66:1 | 4.5:1 | Pass | | mono | dark | info-foreground on info | 6.22:1 | 4.5:1 | Pass | | mono | dark | info-text on background | 8.78:1 | 4.5:1 | Pass | | mono | dark | info-text on card | 7.50:1 | 4.5:1 | Pass | | mono | dark | info-text on info-subtle | 7.65:1 | 4.5:1 | Pass | | mono | dark | foreground on info-subtle | 15.18:1 | 4.5:1 | Pass | | mono | dark | warning-foreground on warning | 7.08:1 | 4.5:1 | Pass | | mono | dark | warning-text on background | 9.80:1 | 4.5:1 | Pass | | mono | dark | warning-text on card | 8.38:1 | 4.5:1 | Pass | | mono | dark | warning-text on warning-subtle | 8.12:1 | 4.5:1 | Pass | | mono | dark | foreground on warning-subtle | 14.42:1 | 4.5:1 | Pass | | mono | dark | success-foreground on success | 6.50:1 | 4.5:1 | Pass | | mono | dark | success-text on background | 11.07:1 | 4.5:1 | Pass | | mono | dark | success-text on card | 9.46:1 | 4.5:1 | Pass | | mono | dark | success-text on success-subtle | 8.62:1 | 4.5:1 | Pass | | mono | dark | foreground on success-subtle | 13.57:1 | 4.5:1 | Pass | | mono | dark | input on background | 4.12:1 | 3.0:1 | Pass | | mono | dark | ring on background | 4.12:1 | 3.0:1 | Pass | | mono | dark | primary on background | 15.47:1 | 3.0:1 | Pass | | mono | dark | code-foreground on code-background | 14.88:1 | 4.5:1 | Pass | | mono | dark | code-keyword on code-background | 14.88:1 | 4.5:1 | Pass | | mono | dark | code-comment on code-background | 7.33:1 | 4.5:1 | Pass | | mono | dark | code-string on code-background | 7.33:1 | 4.5:1 | Pass | | mono | dark | code-number on code-background | 7.33:1 | 4.5:1 | Pass | | mono | dark | code-function on code-background | 14.88:1 | 4.5:1 | Pass | | mono | dark | code-punctuation on code-background | 7.33:1 | 4.5:1 | Pass | | mono | light | foreground on background | 17.21:1 | 4.5:1 | Pass | | mono | light | card-foreground on card | 14.65:1 | 4.5:1 | Pass | | mono | light | popover-foreground on popover | 14.65:1 | 4.5:1 | Pass | | mono | light | primary-foreground on primary | 15.51:1 | 4.5:1 | Pass | | mono | light | primary-foreground on primary-hover | 12.29:1 | 4.5:1 | Pass | | mono | light | primary-foreground on primary-active | 15.51:1 | 4.5:1 | Pass | | mono | light | secondary-foreground on secondary | 14.65:1 | 4.5:1 | Pass | | mono | light | secondary-foreground on secondary-hover | 13.31:1 | 4.5:1 | Pass | | mono | light | secondary-foreground on secondary-active | 11.73:1 | 4.5:1 | Pass | | mono | light | muted-foreground on muted | 6.29:1 | 4.5:1 | Pass | | mono | light | accent-foreground on accent | 13.31:1 | 4.5:1 | Pass | | mono | light | destructive-foreground on destructive | 6.27:1 | 4.5:1 | Pass | | mono | light | destructive-foreground on destructive-hover | 5.24:1 | 4.5:1 | Pass | | mono | light | destructive-foreground on destructive-active | 6.27:1 | 4.5:1 | Pass | | mono | light | destructive-text on background | 7.61:1 | 4.5:1 | Pass | | mono | light | destructive-text on card | 6.48:1 | 4.5:1 | Pass | | mono | light | destructive-text on destructive-subtle | 6.18:1 | 4.5:1 | Pass | | mono | light | foreground on destructive-subtle | 13.97:1 | 4.5:1 | Pass | | mono | light | info-foreground on info | 6.46:1 | 4.5:1 | Pass | | mono | light | info-text on background | 7.69:1 | 4.5:1 | Pass | | mono | light | info-text on card | 6.55:1 | 4.5:1 | Pass | | mono | light | info-text on info-subtle | 6.43:1 | 4.5:1 | Pass | | mono | light | foreground on info-subtle | 14.39:1 | 4.5:1 | Pass | | mono | light | warning-foreground on warning | 6.80:1 | 4.5:1 | Pass | | mono | light | warning-text on background | 7.18:1 | 4.5:1 | Pass | | mono | light | warning-text on card | 6.11:1 | 4.5:1 | Pass | | mono | light | warning-text on warning-subtle | 6.20:1 | 4.5:1 | Pass | | mono | light | foreground on warning-subtle | 14.86:1 | 4.5:1 | Pass | | mono | light | success-foreground on success | 6.88:1 | 4.5:1 | Pass | | mono | light | success-text on background | 7.19:1 | 4.5:1 | Pass | | mono | light | success-text on card | 6.12:1 | 4.5:1 | Pass | | mono | light | success-text on success-subtle | 6.40:1 | 4.5:1 | Pass | | mono | light | foreground on success-subtle | 15.31:1 | 4.5:1 | Pass | | mono | light | input on background | 4.02:1 | 3.0:1 | Pass | | mono | light | ring on background | 4.02:1 | 3.0:1 | Pass | | mono | light | primary on background | 15.86:1 | 3.0:1 | Pass | | mono | light | code-foreground on code-background | 14.65:1 | 4.5:1 | Pass | | mono | light | code-keyword on code-background | 14.65:1 | 4.5:1 | Pass | | mono | light | code-comment on code-background | 5.74:1 | 4.5:1 | Pass | | mono | light | code-string on code-background | 5.74:1 | 4.5:1 | Pass | | mono | light | code-number on code-background | 5.74:1 | 4.5:1 | Pass | | mono | light | code-function on code-background | 14.65:1 | 4.5:1 | Pass | | mono | light | code-punctuation on code-background | 5.74:1 | 4.5:1 | Pass | | verdigris | dark | foreground on background | 17.42:1 | 4.5:1 | Pass | | verdigris | dark | card-foreground on card | 14.88:1 | 4.5:1 | Pass | | verdigris | dark | popover-foreground on popover | 14.88:1 | 4.5:1 | Pass | | verdigris | dark | primary-foreground on primary | 6.06:1 | 4.5:1 | Pass | | verdigris | dark | primary-foreground on primary-hover | 5.27:1 | 4.5:1 | Pass | | verdigris | dark | primary-foreground on primary-active | 6.06:1 | 4.5:1 | Pass | | verdigris | dark | secondary-foreground on secondary | 14.88:1 | 4.5:1 | Pass | | verdigris | dark | secondary-foreground on secondary-hover | 13.16:1 | 4.5:1 | Pass | | verdigris | dark | secondary-foreground on secondary-active | 11.44:1 | 4.5:1 | Pass | | verdigris | dark | muted-foreground on muted | 8.11:1 | 4.5:1 | Pass | | verdigris | dark | accent-foreground on accent | 13.16:1 | 4.5:1 | Pass | | verdigris | dark | destructive-foreground on destructive | 6.04:1 | 4.5:1 | Pass | | verdigris | dark | destructive-foreground on destructive-hover | 5.06:1 | 4.5:1 | Pass | | verdigris | dark | destructive-foreground on destructive-active | 6.04:1 | 4.5:1 | Pass | | verdigris | dark | destructive-text on background | 7.67:1 | 4.5:1 | Pass | | verdigris | dark | destructive-text on card | 6.55:1 | 4.5:1 | Pass | | verdigris | dark | destructive-text on destructive-subtle | 6.89:1 | 4.5:1 | Pass | | verdigris | dark | foreground on destructive-subtle | 15.66:1 | 4.5:1 | Pass | | verdigris | dark | info-foreground on info | 6.22:1 | 4.5:1 | Pass | | verdigris | dark | info-text on background | 8.78:1 | 4.5:1 | Pass | | verdigris | dark | info-text on card | 7.50:1 | 4.5:1 | Pass | | verdigris | dark | info-text on info-subtle | 7.65:1 | 4.5:1 | Pass | | verdigris | dark | foreground on info-subtle | 15.18:1 | 4.5:1 | Pass | | verdigris | dark | warning-foreground on warning | 7.08:1 | 4.5:1 | Pass | | verdigris | dark | warning-text on background | 9.80:1 | 4.5:1 | Pass | | verdigris | dark | warning-text on card | 8.38:1 | 4.5:1 | Pass | | verdigris | dark | warning-text on warning-subtle | 8.12:1 | 4.5:1 | Pass | | verdigris | dark | foreground on warning-subtle | 14.42:1 | 4.5:1 | Pass | | verdigris | dark | success-foreground on success | 6.50:1 | 4.5:1 | Pass | | verdigris | dark | success-text on background | 11.07:1 | 4.5:1 | Pass | | verdigris | dark | success-text on card | 9.46:1 | 4.5:1 | Pass | | verdigris | dark | success-text on success-subtle | 8.62:1 | 4.5:1 | Pass | | verdigris | dark | foreground on success-subtle | 13.57:1 | 4.5:1 | Pass | | verdigris | dark | input on background | 4.12:1 | 3.0:1 | Pass | | verdigris | dark | ring on background | 4.76:1 | 3.0:1 | Pass | | verdigris | dark | primary on background | 3.10:1 | 3.0:1 | Pass | | verdigris | dark | code-foreground on code-background | 14.88:1 | 4.5:1 | Pass | | verdigris | dark | code-keyword on code-background | 14.29:1 | 4.5:1 | Pass | | verdigris | dark | code-comment on code-background | 7.33:1 | 4.5:1 | Pass | | verdigris | dark | code-string on code-background | 8.72:1 | 4.5:1 | Pass | | verdigris | dark | code-number on code-background | 8.72:1 | 4.5:1 | Pass | | verdigris | dark | code-function on code-background | 14.29:1 | 4.5:1 | Pass | | verdigris | dark | code-punctuation on code-background | 7.33:1 | 4.5:1 | Pass | | verdigris | light | foreground on background | 17.21:1 | 4.5:1 | Pass | | verdigris | light | card-foreground on card | 14.65:1 | 4.5:1 | Pass | | verdigris | light | popover-foreground on popover | 14.65:1 | 4.5:1 | Pass | | verdigris | light | primary-foreground on primary | 6.67:1 | 4.5:1 | Pass | | verdigris | light | primary-foreground on primary-hover | 5.52:1 | 4.5:1 | Pass | | verdigris | light | primary-foreground on primary-active | 6.67:1 | 4.5:1 | Pass | | verdigris | light | secondary-foreground on secondary | 14.65:1 | 4.5:1 | Pass | | verdigris | light | secondary-foreground on secondary-hover | 13.31:1 | 4.5:1 | Pass | | verdigris | light | secondary-foreground on secondary-active | 11.73:1 | 4.5:1 | Pass | | verdigris | light | muted-foreground on muted | 6.29:1 | 4.5:1 | Pass | | verdigris | light | accent-foreground on accent | 13.31:1 | 4.5:1 | Pass | | verdigris | light | destructive-foreground on destructive | 6.27:1 | 4.5:1 | Pass | | verdigris | light | destructive-foreground on destructive-hover | 5.24:1 | 4.5:1 | Pass | | verdigris | light | destructive-foreground on destructive-active | 6.27:1 | 4.5:1 | Pass | | verdigris | light | destructive-text on background | 7.61:1 | 4.5:1 | Pass | | verdigris | light | destructive-text on card | 6.48:1 | 4.5:1 | Pass | | verdigris | light | destructive-text on destructive-subtle | 6.18:1 | 4.5:1 | Pass | | verdigris | light | foreground on destructive-subtle | 13.97:1 | 4.5:1 | Pass | | verdigris | light | info-foreground on info | 6.46:1 | 4.5:1 | Pass | | verdigris | light | info-text on background | 7.69:1 | 4.5:1 | Pass | | verdigris | light | info-text on card | 6.55:1 | 4.5:1 | Pass | | verdigris | light | info-text on info-subtle | 6.43:1 | 4.5:1 | Pass | | verdigris | light | foreground on info-subtle | 14.39:1 | 4.5:1 | Pass | | verdigris | light | warning-foreground on warning | 6.80:1 | 4.5:1 | Pass | | verdigris | light | warning-text on background | 7.18:1 | 4.5:1 | Pass | | verdigris | light | warning-text on card | 6.11:1 | 4.5:1 | Pass | | verdigris | light | warning-text on warning-subtle | 6.20:1 | 4.5:1 | Pass | | verdigris | light | foreground on warning-subtle | 14.86:1 | 4.5:1 | Pass | | verdigris | light | success-foreground on success | 6.88:1 | 4.5:1 | Pass | | verdigris | light | success-text on background | 7.19:1 | 4.5:1 | Pass | | verdigris | light | success-text on card | 6.12:1 | 4.5:1 | Pass | | verdigris | light | success-text on success-subtle | 6.40:1 | 4.5:1 | Pass | | verdigris | light | foreground on success-subtle | 15.31:1 | 4.5:1 | Pass | | verdigris | light | input on background | 4.02:1 | 3.0:1 | Pass | | verdigris | light | ring on background | 3.85:1 | 3.0:1 | Pass | | verdigris | light | primary on background | 6.78:1 | 3.0:1 | Pass | | verdigris | light | code-foreground on code-background | 14.65:1 | 4.5:1 | Pass | | verdigris | light | code-keyword on code-background | 12.19:1 | 4.5:1 | Pass | | verdigris | light | code-comment on code-background | 5.74:1 | 4.5:1 | Pass | | verdigris | light | code-string on code-background | 6.16:1 | 4.5:1 | Pass | | verdigris | light | code-number on code-background | 6.16:1 | 4.5:1 | Pass | | verdigris | light | code-function on code-background | 12.19:1 | 4.5:1 | Pass | | verdigris | light | code-punctuation on code-background | 5.74:1 | 4.5:1 | Pass | | brass | dark | foreground on background | 17.42:1 | 4.5:1 | Pass | | brass | dark | card-foreground on card | 14.88:1 | 4.5:1 | Pass | | brass | dark | popover-foreground on popover | 14.88:1 | 4.5:1 | Pass | | brass | dark | primary-foreground on primary | 6.19:1 | 4.5:1 | Pass | | brass | dark | primary-foreground on primary-hover | 5.41:1 | 4.5:1 | Pass | | brass | dark | primary-foreground on primary-active | 6.19:1 | 4.5:1 | Pass | | brass | dark | secondary-foreground on secondary | 14.88:1 | 4.5:1 | Pass | | brass | dark | secondary-foreground on secondary-hover | 13.16:1 | 4.5:1 | Pass | | brass | dark | secondary-foreground on secondary-active | 11.44:1 | 4.5:1 | Pass | | brass | dark | muted-foreground on muted | 8.11:1 | 4.5:1 | Pass | | brass | dark | accent-foreground on accent | 13.16:1 | 4.5:1 | Pass | | brass | dark | destructive-foreground on destructive | 6.04:1 | 4.5:1 | Pass | | brass | dark | destructive-foreground on destructive-hover | 5.06:1 | 4.5:1 | Pass | | brass | dark | destructive-foreground on destructive-active | 6.04:1 | 4.5:1 | Pass | | brass | dark | destructive-text on background | 7.67:1 | 4.5:1 | Pass | | brass | dark | destructive-text on card | 6.55:1 | 4.5:1 | Pass | | brass | dark | destructive-text on destructive-subtle | 6.89:1 | 4.5:1 | Pass | | brass | dark | foreground on destructive-subtle | 15.66:1 | 4.5:1 | Pass | | brass | dark | info-foreground on info | 6.22:1 | 4.5:1 | Pass | | brass | dark | info-text on background | 8.78:1 | 4.5:1 | Pass | | brass | dark | info-text on card | 7.50:1 | 4.5:1 | Pass | | brass | dark | info-text on info-subtle | 7.65:1 | 4.5:1 | Pass | | brass | dark | foreground on info-subtle | 15.18:1 | 4.5:1 | Pass | | brass | dark | warning-foreground on warning | 7.08:1 | 4.5:1 | Pass | | brass | dark | warning-text on background | 9.80:1 | 4.5:1 | Pass | | brass | dark | warning-text on card | 8.38:1 | 4.5:1 | Pass | | brass | dark | warning-text on warning-subtle | 8.12:1 | 4.5:1 | Pass | | brass | dark | foreground on warning-subtle | 14.42:1 | 4.5:1 | Pass | | brass | dark | success-foreground on success | 6.50:1 | 4.5:1 | Pass | | brass | dark | success-text on background | 11.07:1 | 4.5:1 | Pass | | brass | dark | success-text on card | 9.46:1 | 4.5:1 | Pass | | brass | dark | success-text on success-subtle | 8.62:1 | 4.5:1 | Pass | | brass | dark | foreground on success-subtle | 13.57:1 | 4.5:1 | Pass | | brass | dark | input on background | 4.12:1 | 3.0:1 | Pass | | brass | dark | ring on background | 4.59:1 | 3.0:1 | Pass | | brass | dark | primary on background | 3.03:1 | 3.0:1 | Pass | | brass | dark | code-foreground on code-background | 14.88:1 | 4.5:1 | Pass | | brass | dark | code-keyword on code-background | 14.22:1 | 4.5:1 | Pass | | brass | dark | code-comment on code-background | 7.33:1 | 4.5:1 | Pass | | brass | dark | code-string on code-background | 8.43:1 | 4.5:1 | Pass | | brass | dark | code-number on code-background | 8.43:1 | 4.5:1 | Pass | | brass | dark | code-function on code-background | 14.22:1 | 4.5:1 | Pass | | brass | dark | code-punctuation on code-background | 7.33:1 | 4.5:1 | Pass | | brass | light | foreground on background | 17.21:1 | 4.5:1 | Pass | | brass | light | card-foreground on card | 14.65:1 | 4.5:1 | Pass | | brass | light | popover-foreground on popover | 14.65:1 | 4.5:1 | Pass | | brass | light | primary-foreground on primary | 6.78:1 | 4.5:1 | Pass | | brass | light | primary-foreground on primary-hover | 5.65:1 | 4.5:1 | Pass | | brass | light | primary-foreground on primary-active | 6.78:1 | 4.5:1 | Pass | | brass | light | secondary-foreground on secondary | 14.65:1 | 4.5:1 | Pass | | brass | light | secondary-foreground on secondary-hover | 13.31:1 | 4.5:1 | Pass | | brass | light | secondary-foreground on secondary-active | 11.73:1 | 4.5:1 | Pass | | brass | light | muted-foreground on muted | 6.29:1 | 4.5:1 | Pass | | brass | light | accent-foreground on accent | 13.31:1 | 4.5:1 | Pass | | brass | light | destructive-foreground on destructive | 6.27:1 | 4.5:1 | Pass | | brass | light | destructive-foreground on destructive-hover | 5.24:1 | 4.5:1 | Pass | | brass | light | destructive-foreground on destructive-active | 6.27:1 | 4.5:1 | Pass | | brass | light | destructive-text on background | 7.61:1 | 4.5:1 | Pass | | brass | light | destructive-text on card | 6.48:1 | 4.5:1 | Pass | | brass | light | destructive-text on destructive-subtle | 6.18:1 | 4.5:1 | Pass | | brass | light | foreground on destructive-subtle | 13.97:1 | 4.5:1 | Pass | | brass | light | info-foreground on info | 6.46:1 | 4.5:1 | Pass | | brass | light | info-text on background | 7.69:1 | 4.5:1 | Pass | | brass | light | info-text on card | 6.55:1 | 4.5:1 | Pass | | brass | light | info-text on info-subtle | 6.43:1 | 4.5:1 | Pass | | brass | light | foreground on info-subtle | 14.39:1 | 4.5:1 | Pass | | brass | light | warning-foreground on warning | 6.80:1 | 4.5:1 | Pass | | brass | light | warning-text on background | 7.18:1 | 4.5:1 | Pass | | brass | light | warning-text on card | 6.11:1 | 4.5:1 | Pass | | brass | light | warning-text on warning-subtle | 6.20:1 | 4.5:1 | Pass | | brass | light | foreground on warning-subtle | 14.86:1 | 4.5:1 | Pass | | brass | light | success-foreground on success | 6.88:1 | 4.5:1 | Pass | | brass | light | success-text on background | 7.19:1 | 4.5:1 | Pass | | brass | light | success-text on card | 6.12:1 | 4.5:1 | Pass | | brass | light | success-text on success-subtle | 6.40:1 | 4.5:1 | Pass | | brass | light | foreground on success-subtle | 15.31:1 | 4.5:1 | Pass | | brass | light | input on background | 4.02:1 | 3.0:1 | Pass | | brass | light | ring on background | 4.00:1 | 3.0:1 | Pass | | brass | light | primary on background | 6.90:1 | 3.0:1 | Pass | | brass | light | code-foreground on code-background | 14.65:1 | 4.5:1 | Pass | | brass | light | code-keyword on code-background | 12.02:1 | 4.5:1 | Pass | | brass | light | code-comment on code-background | 5.74:1 | 4.5:1 | Pass | | brass | light | code-string on code-background | 6.22:1 | 4.5:1 | Pass | | brass | light | code-number on code-background | 6.22:1 | 4.5:1 | Pass | | brass | light | code-function on code-background | 12.02:1 | 4.5:1 | Pass | | brass | light | code-punctuation on code-background | 5.74:1 | 4.5:1 | Pass | | porphyry | dark | foreground on background | 17.42:1 | 4.5:1 | Pass | | porphyry | dark | card-foreground on card | 14.88:1 | 4.5:1 | Pass | | porphyry | dark | popover-foreground on popover | 14.88:1 | 4.5:1 | Pass | | porphyry | dark | primary-foreground on primary | 6.16:1 | 4.5:1 | Pass | | porphyry | dark | primary-foreground on primary-hover | 5.54:1 | 4.5:1 | Pass | | porphyry | dark | primary-foreground on primary-active | 6.16:1 | 4.5:1 | Pass | | porphyry | dark | secondary-foreground on secondary | 14.88:1 | 4.5:1 | Pass | | porphyry | dark | secondary-foreground on secondary-hover | 13.16:1 | 4.5:1 | Pass | | porphyry | dark | secondary-foreground on secondary-active | 11.44:1 | 4.5:1 | Pass | | porphyry | dark | muted-foreground on muted | 8.11:1 | 4.5:1 | Pass | | porphyry | dark | accent-foreground on accent | 13.16:1 | 4.5:1 | Pass | | porphyry | dark | destructive-foreground on destructive | 6.04:1 | 4.5:1 | Pass | | porphyry | dark | destructive-foreground on destructive-hover | 5.06:1 | 4.5:1 | Pass | | porphyry | dark | destructive-foreground on destructive-active | 6.04:1 | 4.5:1 | Pass | | porphyry | dark | destructive-text on background | 7.67:1 | 4.5:1 | Pass | | porphyry | dark | destructive-text on card | 6.55:1 | 4.5:1 | Pass | | porphyry | dark | destructive-text on destructive-subtle | 6.89:1 | 4.5:1 | Pass | | porphyry | dark | foreground on destructive-subtle | 15.66:1 | 4.5:1 | Pass | | porphyry | dark | info-foreground on info | 6.22:1 | 4.5:1 | Pass | | porphyry | dark | info-text on background | 8.78:1 | 4.5:1 | Pass | | porphyry | dark | info-text on card | 7.50:1 | 4.5:1 | Pass | | porphyry | dark | info-text on info-subtle | 7.65:1 | 4.5:1 | Pass | | porphyry | dark | foreground on info-subtle | 15.18:1 | 4.5:1 | Pass | | porphyry | dark | warning-foreground on warning | 7.08:1 | 4.5:1 | Pass | | porphyry | dark | warning-text on background | 9.80:1 | 4.5:1 | Pass | | porphyry | dark | warning-text on card | 8.38:1 | 4.5:1 | Pass | | porphyry | dark | warning-text on warning-subtle | 8.12:1 | 4.5:1 | Pass | | porphyry | dark | foreground on warning-subtle | 14.42:1 | 4.5:1 | Pass | | porphyry | dark | success-foreground on success | 6.50:1 | 4.5:1 | Pass | | porphyry | dark | success-text on background | 11.07:1 | 4.5:1 | Pass | | porphyry | dark | success-text on card | 9.46:1 | 4.5:1 | Pass | | porphyry | dark | success-text on success-subtle | 8.62:1 | 4.5:1 | Pass | | porphyry | dark | foreground on success-subtle | 13.57:1 | 4.5:1 | Pass | | porphyry | dark | input on background | 4.12:1 | 3.0:1 | Pass | | porphyry | dark | ring on background | 4.07:1 | 3.0:1 | Pass | | porphyry | dark | primary on background | 3.02:1 | 3.0:1 | Pass | | porphyry | dark | code-foreground on code-background | 14.88:1 | 4.5:1 | Pass | | porphyry | dark | code-keyword on code-background | 14.02:1 | 4.5:1 | Pass | | porphyry | dark | code-comment on code-background | 7.33:1 | 4.5:1 | Pass | | porphyry | dark | code-string on code-background | 7.65:1 | 4.5:1 | Pass | | porphyry | dark | code-number on code-background | 7.65:1 | 4.5:1 | Pass | | porphyry | dark | code-function on code-background | 14.02:1 | 4.5:1 | Pass | | porphyry | dark | code-punctuation on code-background | 7.33:1 | 4.5:1 | Pass | | porphyry | light | foreground on background | 17.21:1 | 4.5:1 | Pass | | porphyry | light | card-foreground on card | 14.65:1 | 4.5:1 | Pass | | porphyry | light | popover-foreground on popover | 14.65:1 | 4.5:1 | Pass | | porphyry | light | primary-foreground on primary | 7.11:1 | 4.5:1 | Pass | | porphyry | light | primary-foreground on primary-hover | 5.95:1 | 4.5:1 | Pass | | porphyry | light | primary-foreground on primary-active | 7.11:1 | 4.5:1 | Pass | | porphyry | light | secondary-foreground on secondary | 14.65:1 | 4.5:1 | Pass | | porphyry | light | secondary-foreground on secondary-hover | 13.31:1 | 4.5:1 | Pass | | porphyry | light | secondary-foreground on secondary-active | 11.73:1 | 4.5:1 | Pass | | porphyry | light | muted-foreground on muted | 6.29:1 | 4.5:1 | Pass | | porphyry | light | accent-foreground on accent | 13.31:1 | 4.5:1 | Pass | | porphyry | light | destructive-foreground on destructive | 6.27:1 | 4.5:1 | Pass | | porphyry | light | destructive-foreground on destructive-hover | 5.24:1 | 4.5:1 | Pass | | porphyry | light | destructive-foreground on destructive-active | 6.27:1 | 4.5:1 | Pass | | porphyry | light | destructive-text on background | 7.61:1 | 4.5:1 | Pass | | porphyry | light | destructive-text on card | 6.48:1 | 4.5:1 | Pass | | porphyry | light | destructive-text on destructive-subtle | 6.18:1 | 4.5:1 | Pass | | porphyry | light | foreground on destructive-subtle | 13.97:1 | 4.5:1 | Pass | | porphyry | light | info-foreground on info | 6.46:1 | 4.5:1 | Pass | | porphyry | light | info-text on background | 7.69:1 | 4.5:1 | Pass | | porphyry | light | info-text on card | 6.55:1 | 4.5:1 | Pass | | porphyry | light | info-text on info-subtle | 6.43:1 | 4.5:1 | Pass | | porphyry | light | foreground on info-subtle | 14.39:1 | 4.5:1 | Pass | | porphyry | light | warning-foreground on warning | 6.80:1 | 4.5:1 | Pass | | porphyry | light | warning-text on background | 7.18:1 | 4.5:1 | Pass | | porphyry | light | warning-text on card | 6.11:1 | 4.5:1 | Pass | | porphyry | light | warning-text on warning-subtle | 6.20:1 | 4.5:1 | Pass | | porphyry | light | foreground on warning-subtle | 14.86:1 | 4.5:1 | Pass | | porphyry | light | success-foreground on success | 6.88:1 | 4.5:1 | Pass | | porphyry | light | success-text on background | 7.19:1 | 4.5:1 | Pass | | porphyry | light | success-text on card | 6.12:1 | 4.5:1 | Pass | | porphyry | light | success-text on success-subtle | 6.40:1 | 4.5:1 | Pass | | porphyry | light | foreground on success-subtle | 15.31:1 | 4.5:1 | Pass | | porphyry | light | input on background | 4.02:1 | 3.0:1 | Pass | | porphyry | light | ring on background | 4.37:1 | 3.0:1 | Pass | | porphyry | light | primary on background | 7.29:1 | 3.0:1 | Pass | | porphyry | light | code-foreground on code-background | 14.65:1 | 4.5:1 | Pass | | porphyry | light | code-keyword on code-background | 13.25:1 | 4.5:1 | Pass | | porphyry | light | code-comment on code-background | 5.74:1 | 4.5:1 | Pass | | porphyry | light | code-string on code-background | 6.64:1 | 4.5:1 | Pass | | porphyry | light | code-number on code-background | 6.64:1 | 4.5:1 | Pass | | porphyry | light | code-function on code-background | 13.25:1 | 4.5:1 | Pass | | porphyry | light | code-punctuation on code-background | 5.74:1 | 4.5:1 | Pass | Every primitive scale and semantic theme map is verified against automated WCAG 2.2 AA contrast thresholds. Each audit row reports the measured relative-luminance ratio to two decimal places alongside a text and icon status badge. ## Usage Use semantic color utilities in Tailwind CSS or semantic custom properties in CSS: ```tsx

Primary copy on card

Secondary metadata at step 11 contrast

``` ```css .status-banner-warning { background-color: var(--warning); color: var(--warning-foreground); border: var(--border-width-1) solid var(--border); } ``` ## Do and don't - **Do: Pair feedback color with an icon and text** — Render warning and destructive states with a 16px or 20px Lucide icon, a clear text label, and the paired *-foreground token (such as text-warning-foreground on bg-warning). - **Don't: Convey status by hue alone or use white on warning** — Do not indicate errors with a red border alone, and never pair white text with solid orange warning fills (orange steps 9–10 require dark --orange-foreground for 4.5:1 contrast). ## Accessibility - Solid orange (`--warning`) pairs with dark `--orange-foreground` in both dark and light modes to exceed `4.5:1` contrast. - Color swatches and status badges always include text labels and icons so users with color-vision deficiencies receive identical information (WCAG 1.4.1). ## Rationale Authoring color in HSL keeps hue, saturation, and lightness legible in source code, while automated relative-luminance tests compensate for HSL's non-perceptual lightness curve. Dedicated dark and light ramps preserve surface separation in steps 1–5 without washing out light mode or crushing dark mode shadows. --- Source: https://monoplinth.freshgemui.com/docs/modes-and-themes (https://monoplinth.freshgemui.com/docs/modes-and-themes.md) # Modes and themes Dark mode (`dark`) and the monochrome brand theme (`mono`) are the default appearance on `:root`. Adding `.light` to `` switches the color mode, and setting `data-theme` on `` switches the 10% brand hue. ## Selector architecture and no-flash script | Stylesheet | Selector | Token count | Binding contract | | --- | --- | --- | --- | | color.css | :root | 8 scales × 12 steps + foregrounds | Dark mode (dark) primitive HSL values | | color.css | .light | 8 scales × 12 steps + foregrounds | Light mode primitive HSL overrides with identical variable names | | semantic.css | :root | 53 total (45 neutral/Mono + 8 feedback) | Binds neutral/Mono slots to --obsidian-* and feedback slots to --red-*, --blue-*, --orange-*, --green-* | | semantic.css | [data-theme="verdigris"], [data-theme="brass"], [data-theme="porphyry"] | 9 brand-driven slots | Overrides --primary, --primary-hover, --primary-active, --primary-foreground, --ring, --code-keyword, --code-string, --code-number, --code-function | | Theme | Root selector | Primitive scale | Hue | Material | | --- | --- | --- | --- | --- | | mono | :root (no data-theme) | obsidian | 220° | Obsidian to Alabaster neutral plinth (Mono default) | | verdigris | [data-theme="verdigris"] | verdigris | 175° | Oxidized copper brand theme | | brass | [data-theme="brass"] | brass | 42° | Aged gold brand theme | | porphyry | [data-theme="porphyry"] | porphyry | 320° | Imperial purple stone brand theme | - Default mode: `dark` on `:root`; light mode adds `.light` to ``. - Default brand theme: `mono` (no `data-theme` attribute); non-default themes set `data-theme="verdigris|brass|porphyry"`. - Storage keys: `monoplinth-mode` and `monoplinth-theme` in `localStorage`. Primitive color tokens use identical variable names across `:root` and `.light`, while semantic tokens bind once on `:root` and override only the brand-driven slots under `[data-theme]`. A blocking inline script runs in `` before first paint to read `localStorage`, fall back to `dark` and `mono`, and ignore `prefers-color-scheme`. ## Brand-driven semantic token map | Semantic token | Tailwind class | Mono (default) | Verdigris | Brass | Porphyry | | --- | --- | --- | --- | --- | --- | | --primary | bg-primary | --obsidian-9 (dark: hsl(220, 6%, 90%), light: hsl(220, 6%, 13%)) | --verdigris-9 (dark: hsl(175, 32%, 31%), light: hsl(175, 32%, 29%)) | --brass-9 (dark: hsl(42, 34%, 32%), light: hsl(42, 34%, 30%)) | --porphyry-9 (dark: hsl(320, 30%, 41%), light: hsl(320, 30%, 37%)) | | --primary-hover | bg-primary-hover | --obsidian-10 (dark: hsl(220, 6%, 96%), light: hsl(220, 6%, 20%)) | --verdigris-10 (dark: hsl(175, 32%, 34%), light: hsl(175, 32%, 33%)) | --brass-10 (dark: hsl(42, 34%, 35%), light: hsl(42, 34%, 34%)) | --porphyry-10 (dark: hsl(320, 30%, 44%), light: hsl(320, 30%, 42%)) | | --primary-active | bg-primary-active | --obsidian-9 (dark: hsl(220, 6%, 90%), light: hsl(220, 6%, 13%)) | --verdigris-9 (dark: hsl(175, 32%, 31%), light: hsl(175, 32%, 29%)) | --brass-9 (dark: hsl(42, 34%, 32%), light: hsl(42, 34%, 30%)) | --porphyry-9 (dark: hsl(320, 30%, 41%), light: hsl(320, 30%, 37%)) | | --primary-foreground | text-primary-foreground | --obsidian-foreground (dark: hsl(220, 6%, 6%), light: hsl(220, 6%, 98%)) | --verdigris-foreground (dark: hsl(175, 20%, 98%), light: hsl(175, 20%, 98%)) | --brass-foreground (dark: hsl(42, 22%, 98%), light: hsl(42, 22%, 98%)) | --porphyry-foreground (dark: hsl(320, 18%, 98%), light: hsl(320, 18%, 98%)) | | --ring | ring-ring | --obsidian-8 (dark: hsl(220, 5%, 46%), light: hsl(220, 5%, 50%)) | --verdigris-8 (dark: hsl(175, 26%, 42%), light: hsl(175, 26%, 43%)) | --brass-8 (dark: hsl(42, 26%, 43%), light: hsl(42, 26%, 44%)) | --porphyry-8 (dark: hsl(320, 24%, 49%), light: hsl(320, 24%, 51%)) | | --code-keyword | text-code-keyword | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --verdigris-12 (dark: hsl(175, 24%, 92%), light: hsl(175, 34%, 13%)) | --brass-12 (dark: hsl(42, 26%, 92%), light: hsl(42, 36%, 14%)) | --porphyry-12 (dark: hsl(320, 22%, 93%), light: hsl(320, 32%, 15%)) | | --code-string | text-code-string | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --verdigris-11 (dark: hsl(175, 28%, 68%), light: hsl(175, 30%, 28%)) | --brass-11 (dark: hsl(42, 30%, 68%), light: hsl(42, 32%, 29%)) | --porphyry-11 (dark: hsl(320, 26%, 72%), light: hsl(320, 28%, 35%)) | | --code-number | text-code-number | --obsidian-11 (dark: hsl(220, 5%, 68%), light: hsl(220, 5%, 36%)) | --verdigris-11 (dark: hsl(175, 28%, 68%), light: hsl(175, 30%, 28%)) | --brass-11 (dark: hsl(42, 30%, 68%), light: hsl(42, 32%, 29%)) | --porphyry-11 (dark: hsl(320, 26%, 72%), light: hsl(320, 28%, 35%)) | | --code-function | text-code-function | --obsidian-12 (dark: hsl(220, 6%, 95%), light: hsl(220, 6%, 10%)) | --verdigris-12 (dark: hsl(175, 24%, 92%), light: hsl(175, 34%, 13%)) | --brass-12 (dark: hsl(42, 26%, 92%), light: hsl(42, 36%, 14%)) | --porphyry-12 (dark: hsl(320, 22%, 93%), light: hsl(320, 32%, 15%)) | Only the brand-driven semantic tokens change when `data-theme` switches. Neutral surfaces and functional feedback tokens remain constant across every brand theme. ## Usage Apply mode and theme state on the root `` element and consume semantic tokens in components: ```tsx // Root layout ( blocking script; APPEARANCE_INIT_SCRIPT is a static build-time constant)