Color
A four-step night ramp for surfaces, a warm bone ink that steps down in four readable greys, and two colours of light that are spent only where they mean something.
Night
Every surface is a step on one ramp, from night-950, the ground, up to the hairlines. The steps are small on purpose: in a dark interface, a 2% change in lightness reads as a new layer, and anything larger reads as a hole.
The number on each chip is its contrast against bone ink. Surfaces are chosen so that primary text stays above 15:1 on all of them.
Stone
Ink is bone, #EDEBE5, not white. Pure white on near-black vibrates; bone sits on the page like print. Below it, stone steps down through four greys, each with a job.
Numbers here are contrast against the ground. Everything from stone-500 up passes WCAG AA for body text. stone-600 and 700 are for content that is already over, like a flight you landed on, and never carry meaning alone.
Light
Two colours, never used apart: mint where the light starts and violet where it ends. Together they are the aurora. They are covered in full on the Light page, because where they may appear is a rule, not a preference.
Semantic tokens
Components never use a primitive directly. They use a semantic token named for the job, which points at a primitive. To retune the system, change the pointer, not every component.
Surfaces
| Token | Value | Used for |
|---|---|---|
| --au-bg-ground | → night.950 · #08090A | Page background. |
| --au-bg-raised | → night.900 · #0E0F11 | Cards and controls at rest. |
| --au-bg-raised-hover | → night.850 · #131418 | Raised surfaces under a pointer. |
| --au-bg-sunken | → night.800 · #181A1E | Code, wells, docs panels. |
| --au-bg-inverse | → stone.50 · #EDEBE5 | Fills that have been committed, like a held button. |
| --au-bg-inverse-hover | → stone.200 · #C9C6BE | Inverse fills under a pointer. |
Borders
| Token | Value | Used for |
|---|---|---|
| --au-border-hairline | → night.750 · #1E2024 | Default 1px structure. |
| --au-border-strong | → night.700 · #2A2D33 | Hover, and controls that need a visible edge. |
| --au-border-inverse | → stone.50 · #EDEBE5 |
Text
| Token | Value | Used for |
|---|---|---|
| --au-text-primary | → stone.50 · #EDEBE5 | What Aurora says. 16.7:1 on ground. |
| --au-text-secondary | → stone.300 · #9C9A93 | Supporting prose. 7.1:1. |
| --au-text-tertiary | → stone.400 · #8B8981 | Details and metadata. 5.7:1. |
| --au-text-label | → stone.500 · #86847D | Uppercase labels. 5.3:1. |
| --au-text-faint | → stone.600 · #5C5B56 | Past or inactive content. Decorative, never the only carrier of meaning. |
| --au-text-disabled | → stone.700 · #4A4945 | |
| --au-text-inverse | → night.950 · #08090A | |
| --au-text-critical | → ember.400 · #E58F80 |
Light
| Token | Value | Used for |
|---|---|---|
| --au-light-lo | → aurora.mint · #7FD9C0 | Start of the aurora. |
| --au-light-hi | → aurora.violet · #A78BE0 | End of the aurora. |
| --au-light-focus | → aurora.mint · #7FD9C0 | Focus rings and selection. |
Contrast
Every readable ink against every surface. The build checks this table on every change and fails if a pair drops under 4.5:1.
| Ink | ground | raised | raised-hover | sunken |
|---|---|---|---|---|
| primary | 16.7 AAA | 16.1 AAA | 15.4 AAA | 14.6 AAA |
| secondary | 7.1 AAA | 6.8 AA | 6.5 AA | 6.2 AA |
| tertiary | 5.7 AA | 5.5 AA | 5.3 AA | 5.0 AA |
| label | 5.3 AA | 5.1 AA | 4.9 AA | 4.7 AA |
| critical | 8.1 AAA | 7.8 AAA | 7.5 AAA | 7.1 AAA |
Usage
Step surfaces up from the ground and separate them with a hairline. The layer reads without any shadow.
Don’t put light in text or use it to decorate. A gradient headline spends the one signal the system has.
Use bone for anything Aurora says, and step down through secondary and tertiary for supporting detail.
Don’t use faint or disabled greys for anything a person needs to read. They are for content that is already over.
In code
.card {
background: var(--au-bg-raised);
border: 1px solid var(--au-border-hairline);
color: var(--au-text-primary);
}
.card:hover {
background: var(--au-bg-raised-hover);
border-color: var(--au-border-strong);
}import { tokens } from './lib/tokens';
tokens.color.text.secondary.cssVar; // '--au-text-secondary'
tokens.color.text.secondary.value; // 'var(--au-stone-300)'{
"color": {
"text": {
"secondary": {
"$value": "{color.stone.300}",
"$description": "Supporting prose. 7.1:1."
}
}
}
}