Theme Switcher
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, the component CSS files it composes, and one style pack.
Theme Switcher composes Button and Tooltip component CSS.
Using CDN or bundler imports? See the Installation page.
Include JavaScript
Copy or serve the full A3S UI JavaScript bundle.
Or copy or serve the A3S UI runtime only.
Using CDN or bundler imports? See the Installation page.
Avoid the initial flash
Add this inline script before loading your styles so the stored mode is applied before the page renders.