@buddhacognitivelab/theme-glassmorphic
Version:
Enhanced glassmorphic theme package with dual-mode support, advanced glass effects, interactive UI components, and gesture-based interactions
37 lines (36 loc) • 1.18 kB
TypeScript
/**
* @fileoverview Theme creation utilities for Glassmorphic Theme
* Creates theme objects from state manager data
*/
import type { GlassmorphicTheme, ThemeCreationOptions } from '../types/theme';
/**
* Creates a complete glassmorphic theme from state manager data
*/
export declare const createGlassmorphicTheme: (options: ThemeCreationOptions) => GlassmorphicTheme;
/**
* Creates a theme variant with different glass intensity
*/
export declare const createThemeVariant: (baseTheme: GlassmorphicTheme, intensity: "light" | "medium" | "heavy") => GlassmorphicTheme;
/**
* Utility to check if theme is glassmorphic
*/
export declare const isGlassmorphicTheme: (theme: any) => boolean;
/**
* Gets the appropriate glass effect for a component
*/
export declare const getGlassEffect: (theme: GlassmorphicTheme, intensity?: "light" | "medium" | "heavy") => {
backdropFilter: string;
backgroundColor: string;
border: string;
boxShadow: string;
} | {
backdropFilter: string;
backgroundColor: string;
border: string;
boxShadow: string;
} | {
backdropFilter: string;
backgroundColor: string;
border: string;
boxShadow: string;
};