aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
57 lines • 1.25 kB
TypeScript
import React from "react";
export interface ThemeOption {
id: string;
name: string;
preview: {
primary: string;
secondary: string;
background: string;
text: string;
};
colors: Record<string, string>;
}
export interface GlassThemeSwitcherProps {
/**
* Current theme
*/
currentTheme?: string;
/**
* Available themes
*/
themes: ThemeOption[];
/**
* Enable system theme detection
*/
enableSystemTheme?: boolean;
/**
* Show theme preview
*/
showPreview?: boolean;
/**
* Show custom theme option
*/
showCustomOption?: boolean;
/**
* Compact mode
*/
compact?: boolean;
/**
* Theme change handler
*/
onThemeChange?: (themeId: string) => void;
/**
* Custom theme save handler
*/
onCustomThemeSave?: (colors: Record<string, string>) => void;
/**
* Custom className
*/
className?: string;
}
/**
* GlassThemeSwitcher component
* Theme switching interface with preview and customization
*/
export declare const GlassThemeSwitcher: React.FC<GlassThemeSwitcherProps>;
export default GlassThemeSwitcher;
//# sourceMappingURL=GlassThemeSwitcher.d.ts.map