useThemePicker
API Reference
A hook that provides the current color mode and a function to set the color mode.
function useThemePicker(): [theme: string | undefined, setTheme: (theme?: string | undefined) => void]Returns
[theme: string | undefined, setTheme: (theme?: string | undefined) => void]Last updated: 9/10/2025Edit on GitHub