System
A parametric design system for a robotic foundation model platform. A few
parameters make every colour, a few primitives make every component, and one
package, @qualia-studios/design-ui, carries them to every surface
we ship.
Principles
-
Parametric over hardcoded
Every token derives from a small set of parameters. The system is the source of truth; surfaces sample from it.
-
Composition over configuration
The library is small primitives that combine. Variants emerge from composition. Complexity lives at the edges, not in the core.
-
Restraint over decoration
Tone, weight, and rhythm do the work. The brand reads as engineering: careful, measured, exact.
Layers
The system is a stack, read from the bottom: each layer is computed from the one beneath it, so a change at the base reaches every component without an edit above it.
- Parameters A hue, a chroma, a contrast and the theme. Change one and everything above follows.
palette/params.js - Palette Eight tones by eleven shades in OKLCH, baked to colours that keep their contrast in both themes.
styles/colors.css - Primitives The faces, the UI and prose scales of type, space and radius, and the measures.
styles/primitives.css - Roles What a value is for: a surface, an ink, the accent, a heading, a syntax token. Code reads roles, never shades.
styles/tokens.css - Components Svelte primitives built only from roles: buttons, inputs, layers, status, structure.
components/
Where it ships
One package, four readers. Each takes the layers it needs and adds only its own register; none copies a value.
| Surface | What it reads |
|---|---|
| Dashboard | Roles and components, the UI scale, the syntax roles in its editors |
| Docs | Roles in its own shell, the syntax theme in its code blocks |
| qualia.dev | Faces, palette, the prose scale and the mark; its own glass register on top |
| This guide | Everything, and serves it to agents as markdown, JSON and CSS |
Examples
The accent's fill, ink and border are all read off one hue; change it on the Colors page and these move together.
The parameters themselves live on Colors.