fix(tabs): raise selected tab contrast so it stands out from hover (#877)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user