UNPKG

@tonyfreed/card-core

Version:

Core components and types for Ildex card system

30 lines 957 B
/** * Essential Utilities for Ildex Card Core * Simple utility functions for card operations */ import { ICard, IProfile, ICardConfig, ThemeConfig } from './types'; /** * Create a new card with default values */ export declare function createCard(accountId: string, slug: string, profile?: Partial<IProfile>, config?: Partial<ICardConfig>): ICard; /** * Basic card validation */ export declare function validateCard(card: any): card is ICard; /** * Merge theme configurations */ export declare function mergeTheme(base: ThemeConfig, overrides: Partial<ThemeConfig>): ThemeConfig; /** * Generate CSS custom properties from theme */ export declare function generateThemeCSS(theme: ThemeConfig): string; /** * Generate responsive CSS with breakpoints */ export declare function generateResponsiveCSS(theme: ThemeConfig, breakpoints?: { mobile?: string; tablet?: string; desktop?: string; }): string; //# sourceMappingURL=utils.d.ts.map