mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
Enhance contrast for selected and hovered items in the Object Explorer to improve visibility and accessibility. #8595
This commit is contained in:
@@ -120,6 +120,9 @@ export default function reactAspenOverride(theme) {
|
||||
'span.file-name': {
|
||||
color: theme.otherVars.tree.textHoverFg,
|
||||
},
|
||||
'span.children-count': {
|
||||
color: theme.otherVars.tree.textHoverFg
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -154,13 +157,19 @@ export default function reactAspenOverride(theme) {
|
||||
font: 'inherit',
|
||||
flexGrow: 1,
|
||||
userSelect: 'none',
|
||||
color: theme.otherVars.tree.textFg,
|
||||
cursor: 'pointer !important',
|
||||
whiteSpace: 'nowrap',
|
||||
'&:hover, &.pseudo-active': {
|
||||
color: theme.otherVars.tree.fgHover,
|
||||
},
|
||||
},
|
||||
|
||||
'span.children-count': {
|
||||
'&:hover, &.pseudo-active': {
|
||||
color: theme.otherVars.tree.fgHover,
|
||||
},
|
||||
},
|
||||
|
||||
'div.file-tag': {
|
||||
color: 'var(--tag-color)',
|
||||
border: '1px solid color-mix(in srgb, var(--tag-color) 90%, #fff)',
|
||||
|
||||
Reference in New Issue
Block a user