ThemeOptions
katanakit-js / ThemeOptions
Interface: ThemeOptions
Section titled “Interface: ThemeOptions”Defined in: types/core/theme.ts:7
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
attribute? |
string |
types/core/theme.ts:10 |
defaultMode? |
"system" | "light" | "dark" |
types/core/theme.ts:8 |
onChange? |
(mode, resolved) => void |
types/core/theme.ts:12 |
storageKey? |
string |
types/core/theme.ts:9 |
target? |
HTMLElement |
types/core/theme.ts:11 |