ENGLISH·COURSE API
    Preparing search index...

    Module

    hooks/use-theme-choice/use-theme-choice

    Type Aliases

    ThemeName

    The two themes the app recognises.

    Variables

    THEME_SWITCH_MS

    How long the theme switch's thumb takes to slide before the theme applies. Kept in step with the duration-300-class slide in ThemeSwitchTrack.

    Functions

    useThemeChoice

    Client hook: the theme a theme control shows, and a way to switch to the other one.