Utilities
Theme

Theme

DS9 allows switching between light and dark mode. The theme is saved in a cookie for backend access and in localstorage for sync between tabs.

Usage

import { ThemeManager, ThemeSwitcher } from "@skyltmax/ds9"

Examples

Switcher

A select switcher is provided with System, Light and Dark options.

Code

Toggle

A select switcher is provided with System, Light and Dark options.

Select a display theme:
Code