aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
35 lines • 1.21 kB
TypeScript
import React from "react";
export interface ColorScheme {
primary: string;
secondary: string;
accent: string;
neutral: string;
success: string;
warning: string;
error: string;
info: string;
background: string;
surface: string;
text: string;
}
export interface GlassColorSchemeGeneratorProps extends React.HTMLAttributes<HTMLDivElement> {
/** Initial color scheme */
initialScheme?: Partial<ColorScheme>;
/** Whether to show advanced options */
advanced?: boolean;
/** Whether to generate CSS variables */
generateCSS?: boolean;
/** Whether to generate Tailwind config */
generateTailwind?: boolean;
/** Custom className */
className?: string;
/** Change handler */
onSchemeChange?: (scheme: ColorScheme) => void;
/** Export handler */
onExport?: (scheme: ColorScheme, format: "css" | "json" | "tailwind") => void;
"data-testid"?: string;
"aria-label"?: string;
}
declare const GlassColorSchemeGenerator: React.ForwardRefExoticComponent<GlassColorSchemeGeneratorProps & React.RefAttributes<HTMLDivElement>>;
export { GlassColorSchemeGenerator };
//# sourceMappingURL=GlassColorSchemeGenerator.d.ts.map