zWebUI
v0.1.0 中 Dark

Theming

Every visual decision in zWebUI is a CSS custom property. Override a handful of tokens on :root to rebrand the whole library — no rebuild, no theme compiler.

Brand color
Corner radius
Density
Appearance
Primary Secondary Outline Ghost Danger Loading
Option A Option B Checked Tag Badge Success
Alert follows the same token chain.
Card Radius, border and shadow all derive from tokens. Nested density Control height changes with the density setting.

Active tokens

These are read from the live DOM — change anything above and watch the values update.

Token Computed value