headless-commerce
    Preparing search index...

    Interface ThemeContextValue

    Public theme context used by interactive controls.

    interface ThemeContextValue {
        isDark: boolean;
        setTheme: (theme: ThemeMode) => void;
        theme: ThemeMode;
        toggleTheme: () => void;
    }
    Index

    Properties

    isDark: boolean
    setTheme: (theme: ThemeMode) => void
    theme: ThemeMode
    toggleTheme: () => void