style: update label style
This commit is contained in:
parent
2ce9023084
commit
6f0929a951
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { VariantProps, vcn } from "../shared";
|
import { VariantProps, vcn } from "../shared";
|
||||||
|
|
||||||
const [labelVariant, resolveLabelVariantProps] = vcn({
|
const [labelVariant, resolveLabelVariantProps] = vcn({
|
||||||
base: "has-[input[disabled]]:brightness-50 has-[input[disabled]]:cursor-not-allowed",
|
base: "has-[input[disabled]]:brightness-75 has-[input[disabled]]:cursor-not-allowed has-[input:invalid]:text-red-500",
|
||||||
variants: {
|
variants: {
|
||||||
direction: {
|
direction: {
|
||||||
vertical: "flex flex-col gap-2 justify-center items-start",
|
vertical: "flex flex-col gap-2 justify-center items-start",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user