UNPKG

@recastui/themes

Version:

Recastui Design System component themes with Tailwindcss and CVA

25 lines (22 loc) 1.6 kB
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types'; import { VariantProps } from 'class-variance-authority'; declare enum AlertVariantTypes { solid = "solid", outline = "outline", subtle = "subtle" } declare const alert: { base: (props?: ({ variant?: "subtle" | "solid" | "outline" | null | undefined; color?: "main" | "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | "orange" | "brown" | "sky" | "mint" | "lime" | "yellow" | "amber" | "gold" | "bronze" | "error" | "info" | "success" | "warning" | null | undefined; } & class_variance_authority_dist_types.ClassProp) | undefined) => string; body: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string; icon: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string; title: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string; description: (props?: ({ variant?: "subtle" | "solid" | "outline" | null | undefined; color?: "main" | "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | "orange" | "brown" | "sky" | "mint" | "lime" | "yellow" | "amber" | "gold" | "bronze" | "error" | "info" | "success" | "warning" | null | undefined; } & class_variance_authority_dist_types.ClassProp) | undefined) => string; }; type AlertTheme = VariantProps<typeof alert.base>; export { AlertTheme, AlertVariantTypes, alert };