UNPKG

admesh-ui-sdk

Version:

Beautiful, modern React components for displaying AI-powered product recommendations with citation-based conversation ads, auto-triggered widgets, floating chat, conversational interfaces, persistent sidebar, and built-in tracking. Includes zero-code SDK

37 lines 1.37 kB
import { AdMeshTheme } from '../types'; /** * Utility functions for theme customization in AdMesh UI SDK */ /** * Creates a theme with sensible defaults and custom overrides * Ensures consistent styling across all AdMesh UI SDK components */ export declare const createAdMeshTheme: (customTheme?: Partial<AdMeshTheme>) => AdMeshTheme; /** * Creates a dark theme variant */ export declare const createDarkTheme: (customTheme?: Partial<AdMeshTheme>) => AdMeshTheme; /** * Predefined theme presets for common AI platforms * All presets ensure consistent width settings and styling */ export declare const themePresets: { readonly minimal: AdMeshTheme; readonly vibrant: AdMeshTheme; readonly corporate: AdMeshTheme; readonly highContrast: AdMeshTheme; }; /** * Ensures consistent width settings across all components * This function enforces the rule: 100% width for all components except ecommerce */ export declare const ensureConsistentWidths: (inputTheme?: Partial<AdMeshTheme>) => Partial<AdMeshTheme>; /** * Utility to merge multiple theme objects */ export declare const mergeThemes: (...themes: Partial<AdMeshTheme>[]) => AdMeshTheme; /** * Utility to create a theme from CSS custom properties */ export declare const themeFromCSSProperties: (element: HTMLElement) => Partial<AdMeshTheme>; //# sourceMappingURL=themeUtils.d.ts.map