Enhance contrast for selected and hovered items in the Object Explorer to improve visibility and accessibility. #8595

This commit is contained in:
Rohit Bhati
2025-05-07 12:33:04 +05:30
committed by GitHub
parent 27bd28ee97
commit ff8a301f6a
@@ -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)',