UNPKG

element-book

Version:

An [`element-vir`](https://npmjs.com/package/element-vir) drop-in element for building, testing, and demonstrating a collection of elements (or, in other words, a design system).

33 lines (32 loc) 786 B
import { type PartialWithUndefined } from '@augment-vir/common'; import { type ColorTheme } from './color-theme.js'; /** * The default theme color. * * @category Internal */ export declare const defaultThemeStartColor = "dodgerblue"; /** * Theme style options for the element-book app. * * @category Internal */ export declare enum ThemeStyle { Dark = "dark", Light = "light" } /** * Theme configuration options for the element-book app. * * @category Internal */ export type ThemeConfig = PartialWithUndefined<{ themeColor: string; themeStyle: ThemeStyle; }>; /** * Creates a theme from the given theme configuration. * * @category Internal */ export declare function createTheme({ themeColor: inputThemeColor, themeStyle, }?: ThemeConfig): ColorTheme;