mirror of
https://github.com/stablyai/orca
synced 2026-04-21 14:17:16 +00:00
fix(tabs): raise selected tab contrast so it stands out from hover (#877)
This commit is contained in:
parent
889dbb23cb
commit
b3361569b4
3 changed files with 3 additions and 3 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue