UNPKG

@heroui/theme

Version:

The default theme for HeroUI components

43 lines (40 loc) 894 B
import { colorVariants } from "./chunk-GQT3YUX3.mjs"; import { tv } from "./chunk-TX3FPB7D.mjs"; // src/components/code.ts var code = tv({ base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"], variants: { color: { default: colorVariants.flat.default, primary: colorVariants.flat.primary, secondary: colorVariants.flat.secondary, success: colorVariants.flat.success, warning: colorVariants.flat.warning, danger: colorVariants.flat.danger }, size: { sm: "text-small", md: "text-medium", lg: "text-large" }, radius: { none: "rounded-none", sm: "rounded-small", md: "rounded-medium", lg: "rounded-large", full: "rounded-full" } }, defaultVariants: { color: "default", size: "sm", radius: "sm" } }); export { code };