fix: border-2 on subtle toggle pressed state

This commit is contained in:
Taylor Ho
2026-05-20 23:00:48 -07:00
parent b01411543d
commit 7b4c1de075

View File

@@ -13,7 +13,7 @@ const toggleVariants = cva(
outline:
"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",
subtle:
"border border-input bg-transparent data-[state=on]:bg-primary/10 data-[state=on]:border-primary data-[state=on]:!text-foreground",
"border border-input bg-transparent data-[state=on]:bg-primary/10 data-[state=on]:border-2 data-[state=on]:border-primary data-[state=on]:!text-foreground",
},
size: {
default: "h-9 px-3 min-w-9",