export type IconPack = 'lucide' | 'fontawesome' | 'custom'; export interface ThemeDefinition { name: string; version: number; radix: { appearance: 'light' | 'dark'; accentColor: string; grayColor: string; radius: 'none' | 'small' | 'medium' | 'large'; }; // CSS variables to inject at :root cssVars: Record; typography: { base: string; heading?: string; sizes?: Record; // e.g., --bt-font-size-1 => 12px lineHeights?: Record; weights?: Record<'regular' | 'medium' | 'bold', number>; }; spacing: Record; // --bt-space-1 => 4px radii: Record; // --bt-radius-md => 8px borders: { widths: Record; // --bt-border-1 => 1px color: string; // base border color focusRing: string; // outline style }; density: 'compact' | 'comfortable'; controls: { heights: Record<'sm' | 'md' | 'lg', string>; gaps: Record<'sm' | 'md' | 'lg', string>; icon: Record<'sm' | 'md' | 'lg', string>; }; motion?: { durations?: Record; easings?: Record; }; icons: { pack: IconPack }; fonts?: { // Used by chatbot runtime or bundled for extension files?: { family: string; weight: number; style?: string; src: string }[]; }; }