/** * JavaScript-side representation of the same color tokens NativeWind * exposes as CSS variables in `styles/globals.css`. Components that need * a palette object (RN-Web inline styles, SVG `stroke`, etc.) consume * this so the values stay in lockstep with the className-based theming. * * Always read via `usePalette()` (or `getPalette(scheme)` for non-hook * call sites) — the table mirrors `:root` for light and `.dark` for * dark. */ export interface Palette { background: string; foreground: string; card: string; cardForeground: string; popover: string; popoverForeground: string; primary: string; primaryForeground: string; secondary: string; secondaryForeground: string; muted: string; mutedForeground: string; accent: string; accentForeground: string; destructive: string; destructiveForeground: string; border: string; input: string; inputBorder: string; ring: string; placeholder: string; } export declare const lightPalette: Palette; export declare const darkPalette: Palette; export type ColorScheme = "light" | "dark"; export declare function getPalette(scheme: ColorScheme): Palette; /** * Returns the active palette + scheme. Re-renders the caller when the * OS / class-toggled theme flips. */ export declare function usePalette(): { scheme: ColorScheme; palette: Palette; }; //# sourceMappingURL=palette.d.ts.map