- Preparing search index...
- The search index is not available
Chapbook
Variable themeSwitcherConst
themeSwitcher: Insert<{ darkLabel?: string; lightLabel?: string; prefix?: string; suffix?: string; }> = ...
Type declaration
-
Optional darkLabel?: string
-
Optional lightLabel?: string
-
Optional prefix?: string
-
Optional suffix?: string
A clickable button which toggles between light and dark theme. If
config.style.page.theme.enableSwitchingis set to a falsy value, this will display nothing.