storybook-theme-css-vars
Version:
Theme switcher tool addon that changes the theme using CSS custom properties
11 lines (10 loc) • 354 B
TypeScript
export declare const ADDON_ID = "storybook/theme-css-vars";
export declare const TOOL_ID: string;
export declare const STORYBOOK_IFRAME_ID = "storybook-preview-iframe";
export declare const PARAM_THEME = "theme";
export declare const DEFAULT_PARAMS: {
selector: string;
dataAttr: string;
nameLightTheme: string;
nameDarkTheme: string;
};