export type ColorMode = 'light' | 'dark'; export interface ThemeColorOptions { primary: string; secondary?: string; tertiary?: string; error?: string; success?: string; warning?: string; info?: string; neutral?: string; } export interface ThemeColors { primary: string; onPrimary: string; primaryContainer: string; onPrimaryContainer: string; primaryMark: string; secondary: string; onSecondary: string; secondaryContainer: string; onSecondaryContainer: string; tertiary: string; onTertiary: string; tertiaryContainer: string; onTertiaryContainer: string; error: string; onError: string; errorContainer: string; onErrorContainer: string; success: string; onSuccess: string; successContainer: string; onSuccessContainer: string; warning: string; onWarning: string; warningContainer: string; onWarningContainer: string; info: string; onInfo: string; infoContainer: string; onInfoContainer: string; neutral: string; onNeutral: string; neutralContainer: string; onNeutralContainer: string; background: string; surface1: string; surface2: string; surface3: string; surface4: string; surface5: string; text: string; textSecondary: string; border: string; borderStrong: string; backgroundInverse: string; textInverse: string; primaryInverse: string; shadow: string; backdrop: string; } export type ColorName = keyof ThemeColors; export type PaletteColor = 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'warning' | 'info' | 'neutral'; export declare const DEFAULT_COLORS: Required>; export interface ThemeColorsOptions { mode: ColorMode; contrastLevel: number; } export declare const CONTAINER_CHROMA = 24; export declare function contrastRatio(a: string, b: string): number; export declare function createThemeColors(seeds: ThemeColorOptions, options: ThemeColorsOptions): ThemeColors; export declare function getPaletteColors(colors: ThemeColors, color: PaletteColor): { main: string; onMain: string; container: string; onContainer: string; }; export declare function withOpacity(color: string, opacity: number): string; export declare function resolveColor(colors: ThemeColors, color: ColorName | (string & {}) | undefined): string | undefined; //# sourceMappingURL=color.d.ts.map