import * as z from 'zod/mini'; export declare const ThemeColorScheme: z.ZodMiniUnion, z.ZodMiniLiteral<"dark">, z.ZodMiniLiteral<"light dark">]>; export type ThemeColorScheme = z.infer; export declare const isThemeColorScheme: (value: unknown) => value is "light" | "dark" | "light dark"; /** * Porto theme definition. */ export type Theme = { colorScheme: ColorScheme; accent: SchemeColor; focus: SchemeColor; link: SchemeColor; separator: SchemeColor; radiusSmall: number; radiusMedium: number; radiusLarge: number; baseBackground: SchemeColor; baseAltBackground: SchemeColor; basePlaneBackground: SchemeColor; baseBorder: SchemeColor; baseContent: SchemeColor; baseContentSecondary: SchemeColor; baseContentTertiary: SchemeColor; baseContentPositive: SchemeColor; baseContentNegative: SchemeColor; baseContentWarning: SchemeColor; baseHoveredBackground: SchemeColor; frameBackground: SchemeColor; frameBorder: SchemeColor; frameContent: SchemeColor; frameRadius: number; badgeBackground: SchemeColor; badgeContent: SchemeColor; badgeStrongBackground: SchemeColor; badgeStrongContent: SchemeColor; badgeInfoBackground: SchemeColor; badgeInfoContent: SchemeColor; badgeNegativeBackground: SchemeColor; badgeNegativeContent: SchemeColor; badgePositiveBackground: SchemeColor; badgePositiveContent: SchemeColor; badgeWarningBackground: SchemeColor; badgeWarningContent: SchemeColor; primaryBackground: SchemeColor; primaryContent: SchemeColor; primaryBorder: SchemeColor; primaryHoveredBackground: SchemeColor; primaryHoveredBorder: SchemeColor; secondaryBackground: SchemeColor; secondaryContent: SchemeColor; secondaryBorder: SchemeColor; secondaryHoveredBackground: SchemeColor; secondaryHoveredBorder: SchemeColor; distinctBackground: SchemeColor; distinctContent: SchemeColor; distinctBorder: SchemeColor; disabledBackground: SchemeColor; disabledBorder: SchemeColor; disabledContent: SchemeColor; negativeBackground: SchemeColor; negativeContent: SchemeColor; negativeBorder: SchemeColor; negativeSecondaryBackground: SchemeColor; negativeSecondaryContent: SchemeColor; negativeSecondaryBorder: SchemeColor; positiveBackground: SchemeColor; positiveContent: SchemeColor; positiveBorder: SchemeColor; strongBackground: SchemeColor; strongContent: SchemeColor; strongBorder: SchemeColor; warningBackground: SchemeColor; warningContent: SchemeColor; warningBorder: SchemeColor; warningStrongBackground: SchemeColor; warningStrongContent: SchemeColor; warningStrongBorder: SchemeColor; fieldBackground: SchemeColor; fieldContent: SchemeColor; fieldContentSecondary: SchemeColor; fieldContentTertiary: SchemeColor; fieldBorder: SchemeColor; fieldErrorBorder: SchemeColor; fieldNegativeBorder: SchemeColor; fieldNegativeBackground: SchemeColor; fieldPositiveBorder: SchemeColor; fieldPositiveBackground: SchemeColor; fieldFocusedBackground: SchemeColor; fieldFocusedContent: SchemeColor; }; type PartialTheme> = Partial> & { colorScheme: Th['colorScheme']; }; /** * A Porto theme fragment, used to extend themes with partial definitions. * `light dark` only accepts color pairs (`LightDarkColor`), while `light` * and `dark` only accept single colors (`Color`). */ export type ThemeFragment = PartialTheme> | PartialTheme> | PartialTheme>; export declare const Color: z.ZodMiniUnion, z.ZodMiniString]>; export declare const LightDarkColor: z.ZodMiniReadonly, z.ZodMiniString]>, z.ZodMiniUnion, z.ZodMiniString]>], null>>; /** * A color to be used in themes. * * This schema allows: * - Hex color with 6 or 3 digits (RRGGBB or RGB). * - Hex color + alpha with 8 digits (RRGGBBAA). * - The string "transparent". */ export type Color = z.infer; export declare const isColor: (value: unknown) => value is string; /** * A light + dark color pair to be used in themes. * * The order must be `[light, dark]`, where: * - `light` is the color used in light mode. * - `dark` is the color used in dark mode. */ export type LightDarkColor = z.infer; export declare const isLightDarkColor: (value: unknown) => value is readonly [string, string]; export {}; //# sourceMappingURL=Theme.d.ts.map