mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
Fix button hierarchy: toggles use accent, Select uses secondary
Three primary buttons competing looked unfocused. New hierarchy: - Add (N) button: primary (the CTA) - Toggle chips selected: bg-accent (visible but not competing) - Select button active: secondary (subtle elevation, not primary)
This commit is contained in:
@@ -515,7 +515,7 @@ export function QuickAddAgentPopover({
|
||||
className="shrink-0"
|
||||
>
|
||||
<Toggle
|
||||
className="h-8 rounded-full px-3 text-xs"
|
||||
className="h-8 rounded-full px-3 text-xs data-[state=on]:bg-accent data-[state=on]:text-accent-foreground"
|
||||
onPressedChange={(pressed) =>
|
||||
handleTeamToggle(team, pressed)
|
||||
}
|
||||
@@ -560,7 +560,7 @@ export function QuickAddAgentPopover({
|
||||
}}
|
||||
size="sm"
|
||||
type="button"
|
||||
variant={selectMode ? "default" : "ghost"}
|
||||
variant={selectMode ? "secondary" : "ghost"}
|
||||
>
|
||||
Select
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user