Engineering
How we built the Nebula color engine
OKLCH derivation, role-keyed tier overrides, and the tiny lookup that replaced 1,200 lines of CSS.
May 12, 2026
OKLCH derivation, role-keyed tier overrides, and the tiny lookup that replaced 1,200 lines of CSS.
What we cut from the timeline pass and why the playhead now feels true under load.
A single equation that holds surface pairs legible across every tier override.
Drag-to-token snapping and the gestures that finally read as physical.
Two surface packs, one shared substrate, and what we learned wiring them through.
cid-keyed instances, not DOM-keyed — and why that matters when the page rerenders.
Versioning palettes, tier maps and behaviours as a single transferable artifact.
When the keyframe is enough, and when lsd-physics earns its bytes.
The vocabulary that earned its keep — and the names we quietly retired.