Tokens

One JSON file, tokens.json, is the source. A script writes the CSS variables; the same file can feed other platforms. Colour roles are listed on Palettes.

Radius

VariableValueNote
--cz-radius-sm8px
--cz-radius-md12pxbuttons, inputs
--cz-radius-lg16pxcards, toasts
--cz-radius-xl22pxdialogs
--cz-radius-full999pxswitches, avatars, progress

Border

VariableValueNote
--cz-border-thin2pxbadges, small chips, in-game HUD
--cz-border-thick3pxbuttons, inputs, cards
--cz-border-frame5pxdialog frame

Depth

VariableValueNote
--cz-depth-lift7pxheight of a raised block: its solid side wall
--cz-depth-lift-hover9px
--cz-depth-lift-sm5px
--cz-depth-press1pxwhat is left of the wall while pressed

Shadow

VariableValueNote
--cz-shadow-riminset 0 3px 0 rgb(255 255 255 / 0.55)rim light on the top edge
--cz-shadow-bevelinset 0 -5px 0 rgb(0 0 0 / 0.16)darker lower lip
--cz-shadow-wellinset 0 4px 0 rgb(0 0 0 / 0.14), inset 0 8px 10px -4px rgb(0 0 0 / 0.12)sunken wells: inputs, tracks
--cz-shadow-plasticlinear-gradient(180deg, rgb(255 255 255 / 0.32) 0%, rgb(255 255 255 / 0.06) 48%, rgb(0 0 0 / 0.08) 100%)soft plastic face overlay, layered over the face colour
--cz-shadow-specularrgb(255 255 255 / 0.55)small glint, top left

Space

VariableValueNote
--cz-space-14px
--cz-space-28px
--cz-space-312px
--cz-space-416px
--cz-space-520px
--cz-space-624px
--cz-space-832px
--cz-space-1040px
--cz-space-1248px

Size

VariableValueNote
--cz-size-touch44pxminimum touch target
--cz-size-control-sm36px
--cz-size-control-md48px
--cz-size-control-lg56px

Font

VariableValueNote
--cz-font-family"Nunito", ui-rounded, system-ui, sans-serifNunito (SIL OFL 1.1): rounded, full Vietnamese and Latin coverage
--cz-font-weight-regular400
--cz-font-weight-thin200display only, 24px and up
--cz-font-size-xs12pxabsolute minimum
--cz-font-size-sm14pxminimum for body copy
--cz-font-size-md16px
--cz-font-size-lg20px
--cz-font-size-xl24px
--cz-font-size-2xl32px
--cz-font-size-3xl44px
--cz-font-line-height1.45roomy: Vietnamese stacks two diacritics (Ổ, Ấ)

Motion

VariableValueNote
--cz-motion-instant80ms
--cz-motion-fast140mshover, press
--cz-motion-base220mstoggles, tabs, tooltips
--cz-motion-slow360msdialogs, toasts, progress
--cz-motion-ease-outcubic-bezier(0.2, 0.8, 0.2, 1)
--cz-motion-ease-bouncecubic-bezier(0.34, 1.56, 0.64, 1)toy-like overshoot; USS: ease-out-back
--cz-motion-ease-springcubic-bezier(0.5, 1.8, 0.4, 0.8)stronger overshoot for pops