ThemeNames.names
property · packages/mixins/src/theme/runtime.ts:17
readonly names: ReadonlyArray<Name>Mixins / foldkit-mixins/theme/runtime
interface · packages/mixins/src/theme/runtime.ts:16
interface ThemeNames<Name extends string> {
readonly names: ReadonlyArray<Name>
readonly initial: Name
readonly attribute: string
}What the functions here need of a set of named themes: its names and where the active one is shown.
ThemeNames.namesproperty · packages/mixins/src/theme/runtime.ts:17
readonly names: ReadonlyArray<Name>ThemeNames.initialproperty · packages/mixins/src/theme/runtime.ts:18
readonly initial: NameThemeNames.attributeproperty · packages/mixins/src/theme/runtime.ts:20
readonly attribute: stringThe root element's attribute that names the active theme.