feat: add disabled style in label

This commit is contained in:
p-sw 2024-06-02 03:24:02 +09:00
parent 3e49b03129
commit 9a76ddfaa2

View File

@ -2,7 +2,7 @@ import React from "react";
import { VariantProps, vcn } from "../shared";
const [labelVariant, resolveLabelVariantProps] = vcn({
base: "",
base: "has-[input[disabled]]:brightness-50 has-[input[disabled]]:cursor-not-allowed",
variants: {
direction: {
vertical: "flex flex-col gap-2 justify-center items-start",