Skip to main content
  1. Docs
  2. Foundations
  3. 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.

  • ColourEvery role, light and dark
  • TypographyQeet Sans, Noto Sans, Fira Code
  • Spacing4px grid, corners, densities
  • ElevationShadows, borders and layers
  • MotionQuick: nothing past 400ms

02 — How tokens work

Three tiers, one direction.

Tiers

  1. Primitive124Raw values: ramps and scalesprimitive.color.qeet.600
  2. Semantic212What a value is for--qx-color-bg-brand-bold
  3. Component8One component's own--qx-component-sidebar-width-expanded

Use semantic tokens. Primitives feed them; components refine them.

Names

  1. --qxSystem
  2. colorCategory
  3. bgProperty
  4. brandRole
  5. boldEmphasis

03 — Modes

Set on any element.

Colour schemedata-qx-color-schemelightdark
Densitydata-qx-densitycompactdefaultcomfortable
Next — 01 of 05Colour