/** * Theme preset palettes: the single source of truth for the shipped Roxy UI themes. Each entry drives a generated `styles/themes/{name}.css` file (via `scripts/sync-themes.ts`) and the demo customizer presets (via `scripts/sync-manifest.ts`). Edit the data here and rerun the codegen; never hand-edit the generated CSS. * * @remarks Every palette only reassigns `--roxy-*` tokens, so a theme file composes with the core token contract in `tokens.css` instead of replacing it. Light values are the practitioner-grade palettes; each dark surface and border is tuned by OKLCH rule rather than by eye: lightness of the card surface sits at least 0.06 above the page background and the border at least 0.05 above the surface, keeping each palette's own hue and chroma so the elevation reads as a warm lift, not a grey one, while foreground/surface stays above 7:1 and muted/surface above 4.5:1 for WCAG. The `practitioner` preset is the rosewater palette and keeps the shipped filename `practitioner.css`. */ export type PaletteName = 'practitioner' | 'eucalyptus' | 'kiln' | 'moonlit'; /** The theme-varying tokens one palette sets per mode. `accent-ink` and `ring` derive from `accent`, and `danger` is shared, so none of them appear here. */ export interface PaletteTokens { accent: string; secondary: string; bg: string; surface: string; fg: string; muted: string; border: string; } export interface Palette { light: PaletteTokens; dark: PaletteTokens; } /** * Chrome that never varies by palette, declared once in each theme's light block and inherited by the dark blocks. `danger` still varies by mode; the rest are mode-invariant. */ export declare const SHARED_THEME: { readonly fontImport: "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Jost:wght@400..600&display=swap"; readonly fontSans: "\"Jost\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif"; readonly fontDisplay: "\"Fraunces\", ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif"; readonly radius: { readonly sm: "0.4375rem"; readonly md: "0.875rem"; readonly lg: "1.575rem"; }; readonly shadow: { readonly sm: "none"; readonly md: "none"; readonly lg: "none"; }; readonly danger: { readonly light: "#b23a38"; readonly dark: "#e4736b"; }; }; export declare const ROXY_PALETTES: Record; //# sourceMappingURL=palettes.d.ts.map