Themes.make
function · packages/mixins/src/theme/themes.ts:69
make<
const Record extends {
readonly [name: string]: KnobTheme<Standard>
},
>(
themes: Record,
options: {
readonly initial: keyof Record & string
readonly attribute?: string
},
): Themes<keyof Record & string>themes installed by their keys, initial shown until the Model chooses
another. A name is a key, so it is unique, and Name is the Schema of the
Model field that holds the active one.