@recastui/themes
Version:
Recastui Design System component themes with Tailwindcss and CVA
18 lines (15 loc) • 1.33 kB
TypeScript
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
import { VariantProps } from 'class-variance-authority';
declare const text: (props?: ({
size?: "sm" | "lg" | "xl" | "xs" | "base" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
weight?: "black" | "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | null | undefined;
italic?: boolean | 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;
decoration?: "underline" | "line-through" | "no-underline" | null | undefined;
transform?: "uppercase" | "lowercase" | "capitalize" | "normal-case" | null | undefined;
align?: "right" | "left" | "center" | "justify" | null | undefined;
lineClamp?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "none" | "8" | "9" | "10" | null | undefined;
truncate?: boolean | null | undefined;
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
type TextTheme = VariantProps<typeof text>;
export { TextTheme, text };