@styleglide/theme-editor
Version:
Add the StyleGlide theme editor to any shadcn/ui app
12 lines (9 loc) • 334 B
TypeScript
type ThemeEditorOptions = {
origin?: string;
cssColorFormat?: "channels" | "colorSpace";
onChangeMode?: (mode: "light" | "dark") => void;
resolvedMode?: "light" | "dark" | string;
enabled?: boolean;
};
declare function themeEditor(options?: ThemeEditorOptions): void;
export { ThemeEditorOptions, themeEditor };