Tokens
20260109
Tokens 01
Overview
101
LEVEL
01 – Beginner
INFO
Spacing is a quiet but critical part of product design. HUX uses spacing tokens to remove guesswork, keep rhythm steady, and support clear, functional layouts. The system gives teams a reliable structure so space works with intent rather than intuition.
Architecture
The system in layers
Primitives hold raw values. Semantic tokens give each value a role. Component tokens bind a role to one component, and layers carry its states, such as --active. Each tier references only the tier beneath it.
The counts in the animation come straight from the token file.
Colour anatomy
Colour sets visual order across the HUX interface. The palette supports clear hierarchy, stable rhythm and consistent depth. Each tone sits within a defined scale that aligns with layout, typography and component structure. The aim is simple: predictable colour behaviour across all themes and states.