headless-commerce
Preparing search index...
lib/theme/theme-store
ThemeContextValue
Interface ThemeContextValue
Public theme context used by interactive controls.
interface
ThemeContextValue
{
isDark
:
boolean
;
setTheme
:
(
theme
:
ThemeMode
)
=>
void
;
theme
:
ThemeMode
;
toggleTheme
:
()
=>
void
;
}
Index
Properties
is
Dark
set
Theme
theme
toggle
Theme
Properties
Readonly
is
Dark
isDark
:
boolean
Readonly
set
Theme
setTheme
:
(
theme
:
ThemeMode
)
=>
void
Readonly
theme
theme
:
ThemeMode
Readonly
toggle
Theme
toggleTheme
:
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
is
Dark
set
Theme
theme
toggle
Theme
headless-commerce
Loading...
Public theme context used by interactive controls.