/** * Factory for creating Radix-scale bridges from M3 tonal palettes * * Converts Material 3 tonal palettes (0-100 scale) to Park UI Radix scale (1-12 + alpha + semantic variants) * * Mapping Strategy: * - Radix 1-12 represents light → dark in light mode * - M3 tonal palette 100 → 0 (white to black) * * Radix Scale Semantics: * 1-2: App background * 3-4: Subtle backgrounds * 5-6: UI element backgrounds * 7-8: Borders and separators * 9: Solid backgrounds (primary action color) * 10: Hovered solid backgrounds * 11: Low-contrast text * 12: High-contrast text */ import type { TonalPalette } from '../../contracts/design-language.contract'; interface PaletteBridgeOptions { /** * Palette name for self-referencing semantic tokens (e.g., 'primary', 'error') */ name: string; /** * M3 tonal palette object with keys 0-100 */ palette: TonalPalette; /** * Whether to include a DEFAULT key (used for error palette) */ includeDefault?: boolean; /** * Override for solid.fg token (default uses white/palette[1] pattern) * If true, uses 'white' for both light and dark modes (error pattern) */ solidFgWhiteBoth?: boolean; } /** * Creates a complete Radix-scale bridge from an M3 tonal palette */ export declare function createPaletteBridge({ name, palette: m3, includeDefault, solidFgWhiteBoth, }: PaletteBridgeOptions): any; export {}; //# sourceMappingURL=create-palette-bridge.d.ts.map