@agentman/chat-widget
Version:
Agentman Chat Widget for easy integration with web applications
16 lines (15 loc) • 486 B
TypeScript
/**
* Utility functions for styling
*/
/**
* Convert camelCase to kebab-case for CSS variable names
* @param str - The camelCase string
* @returns The kebab-case string
*/
export declare function camelToKebab(str: string): string;
/**
* Apply theme variables to an element
* @param element - The HTML element
* @param theme - The theme object with camelCase properties
*/
export declare function applyThemeVariables(element: HTMLElement, theme: Record<string, string>): void;