WalletTheme

data class WalletTheme(val id: String, val label: String, val colors: WalletPanelColors)

A pickable appearance theme: a display name + the full WalletPanelColors it maps to.

The default is Kuira's monochrome "Void" — the brand. Color is opt-in: the rest are established, openly-licensed (MIT) palettes designed for dark UIs, applied faithfully from their published configs (attribution in WalletThemes). A theme never floods the UI with hue — it shifts the surface + text tone and tints the emphasis (focus, selection, sync progress) with the palette's accent; the reserved status poles (success green / error red) come from each palette's own green/red so they stay coherent.

Themeable surface for hosts: a dApp can read WalletThemes.all to render its own picker, or ignore this entirely and keep passing a fixed WalletPanelColors.

Constructors

Link copied to clipboard
constructor(id: String, label: String, colors: WalletPanelColors)

Properties

Link copied to clipboard

the palette this theme resolves to (dark surface).

Link copied to clipboard
val id: String

stable key persisted in ThemeStore; never localize it.

Link copied to clipboard

human-facing name shown under the swatch.