fix: colored border-primary on subtle toggle pressed state, reduce toggle row py

This commit is contained in:
Taylor Ho
2026-05-20 22:55:57 -07:00
parent cb7b83b85a
commit d5f3db1291
2 changed files with 2 additions and 2 deletions

View File

@@ -534,7 +534,7 @@ export function QuickAddAgentPopover({
{selectMode ? (
<motion.div
key="team-row"
className="relative border-b px-3 py-2"
className="relative border-b px-3 py-1"
initial={{ height: 0, opacity: 0 }}
animate={{ height: "auto", opacity: 1 }}
exit={{ height: 0, opacity: 0 }}

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-transparent data-[state=on]:border-accent-foreground data-[state=on]:!text-accent-foreground",
"border border-input bg-transparent data-[state=on]:!bg-transparent data-[state=on]:border-primary data-[state=on]:!text-foreground",
},
size: {
default: "h-9 px-3 min-w-9",