mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-26 23:51:14 +02:00
fix(globals.css, models-selection-panel): update brand color and improve button styles for active state
This commit is contained in:
parent
fe1bee14ed
commit
f6836cf11f
2 changed files with 10 additions and 4 deletions
|
|
@ -99,11 +99,17 @@ export function ModelsSelectionPanel({
|
|||
type="button"
|
||||
variant="secondary"
|
||||
size="sm"
|
||||
className={`h-7 rounded-full px-3 text-xs ${isActive ? "" : "opacity-80"}`}
|
||||
className={`h-7 rounded-full px-3 text-xs ${
|
||||
isActive
|
||||
? "bg-brand text-white hover:bg-brand/90"
|
||||
: "opacity-80"
|
||||
}`}
|
||||
onClick={() => setModelFilter(isActive ? null : filter.key)}
|
||||
>
|
||||
{filter.label}
|
||||
<span className="ml-1 text-muted-foreground">{count}</span>
|
||||
<span className={`ml-1 ${isActive ? "text-white/80" : "text-muted-foreground"}`}>
|
||||
{count}
|
||||
</span>
|
||||
</Button>
|
||||
);
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue