Meridian/Foundations · Light & dark roles
Color · Roles
Components reference roles,
never raw ramp values.
Themes swap the mapping; components never change.
The default
Light
A Graphite 25 canvas with white surfaces that sit above it, Graphite 950 for text and Cobalt 500 for the accent.
| Role | Use | Value |
|---|---|---|
| --bg | Page canvas | g-25 |
| --surface | Cards, inputs, menus | g-0 |
| --subtle | Sidebars, table heads | g-50 |
| --muted | Hover, tracks, chips | g-100 |
| --border | Dividers, outlines | g-200 |
| --text | Headings, values | g-950 |
| --text-2 | Body, labels | g-600 |
| --text-3 | Meta, placeholders | g-500 |
| --accent | Actions, focus, links | c-500 |
Dark is first-class
Dark
Not an inversion. Surfaces get lighter as they rise, borders carry more weight than shadows, and the accent shifts one step brighter.
| Role | Use | Value |
|---|---|---|
| --bg | Page canvas | g-1000 |
| --surface | Cards, inputs, menus | g-950 |
| --subtle | Sidebars, table heads | g-900 |
| --muted | Hover, tracks, chips | g-850 |
| --border | Dividers, outlines | 262624 |
| --text | Headings, values | EDEDEA |
| --text-2 | Body, labels | A3A29C |
| --text-3 | Meta, placeholders | 7E7D78 |
| --accent | Actions, focus, links | c-400 |
Meridian Design Language07