import { Config } from 'tailwindcss'; import { default as twColors } from 'tailwindcss/colors'; export type TailwindColorName = Exclude; type TailwindColorLevel = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950; type CustomColorLevel = 'DEFAULT' | 'foreground' | TailwindColorLevel; type CustomColor = Record; type DarkLightColor = { light: string; dark: string; }; type PresetConfigColors = { /** * Primary color name or custom color palette object * @default 'blue' */ primary: TailwindColorName | CustomColor; /** * Secondary color name or custom color palette object * @default 'fuchsia' */ secondary: TailwindColorName | CustomColor; /** * Accent color name or custom color palette object * @default 'blue' (same as primary) */ accent: TailwindColorName | CustomColor; /** * Gray color name or custom color palette object * @default 'neutral' */ gray: TailwindColorName | CustomColor; /** * Danger color name or custom color palette object * @default 'red' */ danger: TailwindColorName | CustomColor; /** * Warn color name or custom color palette object * @default 'yellow' */ warning: TailwindColorName | CustomColor; /** * Success color name or custom color palette object * @default 'emerald' */ success: TailwindColorName | CustomColor; /** * Default background color in light and dark modes * @default 'white' and 'gray-950' */ background: DarkLightColor; /** * Default muted background color in light and dark modes * @default 'gray-100' and 'gray-900' */ backgroundMuted: DarkLightColor; /** * Default foreground color in light and dark modes * @default 'gray-950' and 'white' */ foreground: DarkLightColor; /** * Default muted foreground color in light and dark modes * @default 'gray-500' and 'gray-400' */ foregroundMuted: DarkLightColor; /** * Default border color in light and dark modes * @default 'gray-300' and 'gray-700' */ border: DarkLightColor; /** * Default muted border color in light and dark modes * @default 'gray-200' and 'gray-800' */ borderMuted: DarkLightColor; /** * Default focus ring color in light and dark modes, plus width and opacity * @default 'gray-800' and 'gray-200' */ ring: DarkLightColor; /** * Default focus ring offset color in light and dark modes, plus width * @default 'white' and 'gray-950' */ ringOffset: DarkLightColor; }; type PresetConfig = { /** * Base border radius * @default '0.5em' */ baseRadius: string; /** * Theme colors */ colors: PresetConfigColors; }; type PartialPresetConfig = Partial> & { colors?: Partial; }; export declare function createTailwindPreset(config?: PartialPresetConfig): Partial; export {};