Skip to content

useTheme

function useTheme(): ThemeState;

Defined in: src/ui/theme-context.tsx:92

The active theme. Outside a ThemeProvider it follows the OS scheme and reports no toggle (there is no store to persist a choice in).

ThemeState