Resources
Tokens
All 112 tokens in one place: the name you write in CSS, the value it resolves to, and what it is for. Everything here is generated from the same JSON the components and the Figma library use.
Download
aurora.cssCustom properties and type classes. Link it and every variable on this page is available.↓aurora.tokens.jsonResolved values in the W3C design tokens format, for Style Dictionary or your own build.↓figma-variables.jsonTwo collections, primitives and semantic, with aliases kept. This is what the Figma library was built from.↓
@import url('https://izaias.xyz/aurora/design/tokens/aurora.css');
.card {
background: var(--au-bg-raised);
border: var(--au-stroke-hairline) solid var(--au-border-hairline);
border-radius: var(--au-radius-md);
transition: height var(--au-dur-glide) var(--au-ease-glide);
}Semantic colour
The names components use. Each one points at a primitive, so a retune happens in one place.
| 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. |
| --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 | |
| --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 | |
| --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. |
Primitive colour
The raw ramps. Components never read these directly; semantic tokens do.
| Token | Value | Used for |
|---|---|---|
| --au-night-600 | #3A3D44 | Scrollbars and inactive handles. |
| --au-night-700 | #2A2D33 | Strong hairline, hover borders. |
| --au-night-750 | #1E2024 | Hairline. |
| --au-night-800 | #181A1E | Third raise: docs panels and code. |
| --au-night-850 | #131418 | Second raise: hover and pressed surfaces. |
| --au-night-900 | #0E0F11 | First raise: cards, controls at rest. |
| --au-night-950 | #08090A | The ground. Every Aurora surface starts here. |
| --au-stone-50 | #EDEBE5 | Bone. Primary ink, warm rather than white. |
| --au-stone-200 | #C9C6BE | |
| --au-stone-300 | #9C9A93 | |
| --au-stone-400 | #8B8981 | |
| --au-stone-500 | #86847D | Retuned from the concept's #5C5B56 so labels pass WCAG AA on every surface. |
| --au-stone-600 | #5C5B56 | |
| --au-stone-700 | #4A4945 | |
| --au-aurora-mint | #7FD9C0 | Low aurora. Where light starts. |
| --au-aurora-violet | #A78BE0 | High aurora. Where light ends. |
| --au-ember-400 | #E58F80 | The one warm signal. Destructive and error only. |
Type styles
Each style compiles to five variables and one class. Use the class in markup, or the variables when you need a single property.
| Class | Family | Size / leading | Weight | Tracking |
|---|---|---|---|---|
| .au-type-display | Newsreader | 56px / 1.08 | 400 | -0.02em |
| .au-type-headline | Newsreader | 40px / 1.15 | 400 | -0.014em |
| .au-type-title-l | Newsreader | 28px / 1.25 | 400 | -0.01em |
| .au-type-title | Newsreader | 24px / 1.33 | 400 | -0.008em |
| .au-type-title-s | Newsreader | 20px / 1.3 | 400 | -0.006em |
| .au-type-voice | Newsreader | 18px / 1.5 | 400 | 0em |
| .au-type-voice-s | Newsreader | 14px / 1.55 | 400 | 0em |
| .au-type-body-l | Nunito Sans | 17px / 1.65 | 400 | 0em |
| .au-type-body | Nunito Sans | 15px / 1.65 | 400 | 0em |
| .au-type-body-s | Nunito Sans | 13px / 1.5 | 400 | 0em |
| .au-type-caption | Nunito Sans | 12px / 1.45 | 400 | 0em |
| .au-type-figure | Nunito Sans | 11px / 1.4 | 600 | 0.06em |
| .au-type-label | Nunito Sans | 10px / 1.4 | 600 | 0.2em |
Space, radius and stroke
A 4px scale with a few half steps for optical work, four radii, and one stroke width.
| Token | Value | Used for |
|---|---|---|
| --au-space-0 | 0px | |
| --au-space-1 | 4px | |
| --au-space-2 | 8px | |
| --au-space-3 | 12px | |
| --au-space-4 | 16px | |
| --au-space-5 | 20px | |
| --au-space-6 | 24px | |
| --au-space-8 | 32px | |
| --au-space-10 | 40px | |
| --au-space-12 | 48px | |
| --au-space-16 | 64px | |
| --au-space-20 | 80px | |
| --au-space-24 | 96px | |
| --au-space-32 | 128px | |
| --au-space-px | 1px | |
| --au-space-0_5 | 2px | |
| --au-radius-none | 0px | |
| --au-radius-sm | 4px | Controls: buttons, inputs. |
| --au-radius-md | 6px | Containers: cards, panels. |
| --au-radius-lg | 12px | Stages and large media. |
| --au-radius-device | 38px | Device frames only. |
| --au-radius-pill | 999px | The ask bar and nothing else. |
| --au-stroke-hairline | 1px | The only stroke weight in the system. |
Motion
Curves, durations, and the named transitions built from them.
| Token | Value | Used for |
|---|---|---|
| --au-ease-glide | cubic-bezier(0.32, 0.72, 0, 1) | Decelerates into place. Anything that moves or changes size. |
| --au-ease-soft | cubic-bezier(0.4, 0, 0.2, 1) | Symmetric and quiet. Colour, opacity, borders. |
| --au-ease-out | cubic-bezier(0.25, 1, 0.5, 1) | A long, gentle arrival. Entrances and reveals. |
| --au-ease-linear | cubic-bezier(0, 0, 1, 1) | Time itself. Only for progress that tracks a held gesture. |
| --au-dur-instant | 120ms | |
| --au-dur-quick | 220ms | |
| --au-dur-base | 340ms | |
| --au-dur-moderate | 460ms | |
| --au-dur-glide | 600ms | |
| --au-dur-slow | 900ms | |
| --au-dur-reveal | 1400ms | |
| --au-dur-hold | 840ms | How long a hold to confirm takes. A safeguard, not decoration. |
| --au-dur-drift | 12000ms | One slow cycle of ambient light. |
| --au-motion-move | 600ms cubic-bezier(0.32, 0.72, 0, 1) | Position and size. |
| --au-motion-fade | 340ms cubic-bezier(0.4, 0, 0.2, 1) | Colour and opacity. |
| --au-motion-enter | 900ms cubic-bezier(0.25, 1, 0.5, 1) | Content arriving. |
| --au-motion-morph | 660ms cubic-bezier(0.32, 0.72, 0, 1) | A box changing into another box. |
Font families and weights
The stacks behind the type styles.
| Token | Value | Used for |
|---|---|---|
| --au-font-serif | 'Newsreader Variable', Newsreader, 'Iowan Old Style', Charter, Georgia, serif | |
| --au-font-sans | 'Nunito Sans Variable', 'Nunito Sans', 'Avenir Next', 'Segoe UI', system-ui, sans-serif | |
| --au-font-mono | 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, Menlo, monospace | |
| --au-weight-regular | 400 | |
| --au-weight-medium | 500 | |
| --au-weight-semibold | 600 |