fix(tabs): raise selected tab contrast so it stands out from hover (#877)

This commit is contained in:
Brennan Benson 2026-04-20 17:30:07 -07:00 committed by GitHub
parent 889dbb23cb
commit b3361569b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@ export default function BrowserTab({
{...listeners}
className={`group relative flex items-center h-full px-3 text-sm cursor-pointer select-none shrink-0 border-r border-border ${
isActive
? 'bg-accent/40 text-foreground border-b-transparent'
? 'bg-accent text-foreground border-b-transparent'
: 'bg-card text-muted-foreground hover:text-foreground hover:bg-accent/50'
}`}
onPointerDown={(e) => {

View file

@ -185,7 +185,7 @@ export default function EditorFileTab({
{...listeners}
className={`group relative flex items-center h-full px-3 text-sm cursor-pointer select-none shrink-0 border-r border-border ${
isActive
? 'bg-accent/40 text-foreground border-b-transparent'
? 'bg-accent text-foreground border-b-transparent'
: 'bg-card text-muted-foreground hover:text-foreground hover:bg-accent/50'
}`}
onPointerDown={(e) => {

View file

@ -157,7 +157,7 @@ export default function SortableTab({
{...dragListeners}
className={`group relative flex items-center h-full px-3 text-sm cursor-pointer select-none shrink-0 border-r border-border ${
isActive
? 'bg-accent/40 text-foreground border-b-transparent'
? 'bg-accent text-foreground border-b-transparent'
: 'bg-card text-muted-foreground hover:text-foreground hover:bg-accent/50'
}`}
onDoubleClick={(e) => {