06 / COMPONENTS / WIDGETS
Theme customizer
Native style cards, palette swatches, custom-color input, mode controls, and the Background icons and Content reveals choices.
Widgets1 variantcomponent
Live preview
LOCAL PREVIEWActivate this specimen to load its real styles. No saved preferences change.
Notes
Markup is generated by the native dialogMarkup function, including its Background icons and Content reveals groups, without running its persistence controller. Those groups start at their defaults: Playful, Some, Faint, Lines On, Drift rests After 3s, and All sections. As on the site, Icons, Strength, and Lines hide while Motion is Off, Drift rests shows only for Drift, and each hint follows the checked choice. Form controls demonstrate local selection only; the controls above the preview set its actual theme. Closing or resetting this example never changes saved site preferences.
Usage
Theme customizer
Generated from the native source / Rendered markup<!-- Include the shared head, header, and footer.
The shared kirupa.js controller builds #themeWrapper and owns persistence.
Do not copy that controller into a locally themed specimen. -->Anatomy
Selectors#themeWrapper#themePanel.themeStyles.themeSwatches.themeSegments.themeIcons.themeIconsRow.themeReveals.themeHint
Properties--themeCardBg--mediaBorder--primary
Sources
Agent Instructions / components
You are composing a current-shell KIRUPA page. Read /design/components.json and the relevant entry in /design/sections/components.md for selectors, variants, source files, and usage. Start from an adjacent working page and reuse its SSI structure and named component classes. When a link needs to look like a link inside the tutorial body, add the blueEmphasis class to its anchor, including in component examples. Style class names, IDs, and code identifiers in explanatory prose with inlineCode. Choose semantic HTML before adding JavaScript. Use visible labels, keyboard-operable controls, clear focus, and explicit loading/error/empty states. Keep forms inert in documentation specimens and label demo output. Preserve the article's reading rhythm and code overflow containment. Verify the component in each visual style and both modes. Do not initialize onboarding, tracking, a live chat request, or a subscription in a preview. Keep reference and navigation descriptions short and factual. Follow WCAG 2.2 AA for new or changed content: semantic HTML, keyboard access, visible focus, readable contrast in every theme, text alternatives, labeled controls, and explicit errors. Support zoom/reflow, respect reduced motion, and keep sound optional. Read /design/sections/accessibility.md for acceptance checks. Report unresolved barriers; automated checks alone do not establish conformance.