ivt
Version:
Ivt Components Library
8 lines (6 loc) • 1.02 kB
JavaScript
const styleInput = "border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm";
const styleInputError = "bg-destructive-foreground border-destructive hover:bg-destructive-foreground text-destructive hover:text-destructive [&_svg]:text-destructive [&_svg]:stroke-destructive [&_input]:border-destructive [&_input]:!text-destructive [&_span]:text-destructive [&>span]:text-destructive placeholder:text-destructive !text-destructive";
const styleSelect = "hover:bg-accent hover:text-accent-foreground cursor-pointer";
const formatNegative = (value)=>value < 0 ? "text-destructive" : "";
export { styleInput as a, styleSelect as b, formatNegative as f, styleInputError as s };
//# sourceMappingURL=styles-lQyUmHf7.mjs.map