Set a base mode with theme, then override tokens with customTheme. Tokens map to CSS custom properties on .dzap-widget, including portaled wallet modals.
theme: 'light' | 'dark' | 'auto'. 'auto' follows prefers-color-scheme. Default is 'dark'.
Omitted color keys are filled from the light or dark palette. If background is a hex color, card / secondary / muted / tertiary / border are shade-derived unless you set them.
Color tokens
Surfaces
Per-surface radius, border, and shadow, independent of the global radius:
Chrome
customTheme.chromeStyle: 'win95' applies a retro beveled chrome treatment. Most hosts should leave this unset.
Type
Last modified on August 18, 2026