Theme Accents
Switches the accent colour at runtime with one attribute.
Installation
pnpm dlx shadcn@latest add @paneui/theme-accentsUsage
Examples
Presets
blue (the default, also what no attribute gives), neutral, green, orange, rose and violet. Each sets the eight accent roles (--primary with its -hover, -active, -foreground, -subtle, -subtle-hover and -border variants, plus --ring), in light and under .dark. The values are the same as the single theme-<name> items, which bake one accent into the theme instead.
Switching
Set or remove the attribute with document.documentElement.dataset.accent = "rose". To keep a pick across visits, store it and set the attribute in a pre-paint script, as the theme toggle does for .dark. For a ready-made control, see Accent Picker.
Radius presets
theme-radii is the same idea for corners: @import "./theme-radii.css" and set data-radius="none" | "sm" | "lg" | "xl" on <html> (no attribute or default is the theme radius). Install it from /r/theme-radii.json.