- Docs
- Foundations
- Updated 28 Oct 2026
Foundations
The decisions every component is built on, kept as tokens.
- Design tokens
- 324CSS variables, light and dark
- Colour ramps
- 611 steps each
- Schemes
- 2Light and dark
- Densities
- 3Compact to comfortable
01 — The foundations
Five decisions, one system.
02 — How tokens work
Three tiers, one direction.
Tiers
- Primitive124Raw values: ramps and scales
primitive.color.qeet.600 - Semantic212What a value is for
--qx-color-bg-brand-bold - Component8One component's own
--qx-component-sidebar-width-expanded
Use semantic tokens. Primitives feed them; components refine them.
Names
--qxSystemcolorCategorybgPropertybrandRoleboldEmphasis
03 — Modes
Set on any element.
Colour scheme
data-qx-color-schemelightdarkDensity
data-qx-densitycompactdefaultcomfortable