style: update label style

This commit is contained in:
p-sw 2024-06-03 21:19:48 +09:00
parent 2ce9023084
commit 6f0929a951

View File

@ -2,7 +2,7 @@ import React from "react";
import { VariantProps, vcn } from "../shared";
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: {
direction: {
vertical: "flex flex-col gap-2 justify-center items-start",