@recastui/themes
Version:
Recastui Design System component themes with Tailwindcss and CVA
13 lines (10 loc) • 787 B
TypeScript
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
declare const switchTheme: (props?: ({
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;
size?: "sm" | "lg" | "base" | null | undefined;
rounded?: "sm" | "md" | "lg" | "full" | "xs" | null | undefined;
error?: boolean | null | undefined;
disabled?: boolean | null | undefined;
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
type SwitchTheme = typeof switchTheme;
export { SwitchTheme, switchTheme };