Daylight
Aurora is a product about your day, so its light keeps your hours. Four moods live in the tokens and every page blends them for the reader's local time: low and mint at first light, violet as the evening opens, faint and high at night.
Move the day
Drag through twenty-four hours. The sky behind this page's title follows the dial, because every sky on a page listens to the same clock.
Four moods
Each mood is four numbers. The hour it peaks, how bright it gets, how high the light hangs, and how much of it is mint. Between two moods the values blend on a smoothstep, so the sky never jumps.
| Mood | Peaks at | Intensity | Height | Mint share | Character |
|---|---|---|---|---|---|
| Night | 00.00 | 0.34 | 0.66 | 0.22 | Midnight to first light. Faint, high, mostly violet. |
| First light | 06.30 | 0.62 | 0.3 | 0.86 | First light. Low on the horizon, mostly mint. |
| The open day | 13.00 | 0.78 | 0.5 | 0.6 | The open middle of the day. The brightest the sky gets. |
| The evening | 19.00 | 0.7 | 0.38 | 0.3 | The evening is yours. Low again, leaning violet. |
Where the sky belongs
- Brand surfaces only. The home page, page headers, covers, launch images and wallpapers. Never inside a component, and never behind a control.
- Below a fifth of full strength. Text set over the sky keeps its contrast. The brightest mood still sits under 20% luminance.
- It folds, it never streaks. Low-frequency noise only. No rays, no glints, no glow around type.
- It moves like weather. One drift every few minutes, imperceptible from second to second. With reduced motion it paints once and holds still.
- It sleeps off screen. A sky outside the viewport stops drawing. A whole page of skies costs one small shader.
In code
The sky is one WebGL shader, about a hundred lines, painted at half resolution and upscaled so the browser's own resampling does the softening. If WebGL is unavailable, two radial gradients stand in.
import { paintSky, skyAt, localHour } from './lib/sky'; // design-system/src/lib/sky.ts
// Paint the sky for the reader's own hour
const sky = paintSky(canvas, { strength: 0.7 });
// Or pin it to a moment, gliding there without a jump
sky.setHour(19);
skyAt(localHour()); // { intensity, height, mint, name: 'dusk' }Take it with you
The four moods are rendered as wallpapers for desktop and phone in the Starter kit, and as image fills on the Figma cover, so the file and the site share one sky.