UNPKG

aura-glass

Version:

A comprehensive glassmorphism design system for React applications with 142+ production-ready components

34 lines 891 B
import React from 'react'; export interface GlassContextType { /** * Whether reduced effects should be used */ reducedEffects: boolean | 'minimal'; /** * Whether to use hardware acceleration */ useHardwareAcceleration: boolean; /** * The quality tier for glass effects */ qualityTier: 'ultra' | 'high' | 'medium' | 'low' | 'minimal'; /** * Whether dark mode is active */ isDarkMode: boolean; /** * The current theme variant */ themeVariant: string; /** * Get a color value from the theme */ getColor: (path: string, fallback?: string) => string; } export declare const GlassContext: React.Context<GlassContextType>; /** * Hook to use the glass context */ export declare const useGlass: () => GlassContextType; export default GlassContext; //# sourceMappingURL=GlassContext.d.ts.map