whisk
Theming

Tokens

The complete list of CSS variables Whisk reads from.

Every Whisk style hangs off one of these variables. Override them on a parent of the widget — :root, body, or any wrapping element that the widget descends from.

Brand surfaces

VariableDefaultWhat it paints
--whisk-bg#e4e2d4Card and surface background.
--whisk-fg#6e4d54Primary text.
--whisk-fg-muted#7a5c63Labels, hints, secondary copy.
--whisk-border#ca9b8fHairline borders.

Accent

VariableDefaultWhat it paints
--whisk-primary#d65c3cCTA buttons, active dots, focus ring.
--whisk-primary-fg#fbf8eeText on the accent surface.

Derived

These default to brand tokens. Override them only when you need a different shade for one specific surface.

VariableDefaultWhat it paints
--whisk-cardvar(--whisk-bg)Card background.
--whisk-card-fgvar(--whisk-fg)Card text.
--whisk-inputvar(--whisk-border)Input borders.
--whisk-ringvar(--whisk-primary)Focus ring.

Semantic state

VariableDefaultWhat it paints
--whisk-success#6b8e4eSuccess banner, success badge.
--whisk-warning#d69a3cWarning banner, warning badge.
--whisk-destructive#b23a3aError banner, destructive button.
--whisk-destructive-fg#fbf8eeText on the destructive surface.

Shape

VariableDefaultWhat it shapes
--whisk-radius0.625remFields, buttons.
--whisk-radius-sm0.375remBadges.
--whisk-radius-lg1remCard.
--whisk-border-w0.5pxHairline border width.

Type

VariableDefaultWhat it covers
--whisk-fontInter → SF Pro → systemBody type.
--whisk-font-monoGeist Mono → JetBrains MonoAddress & tx hash type.

On this page