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

pull/8736/head
Rohit Bhati 2025-05-07 12:33:04 +05:30 committed by GitHub
parent 27bd28ee97
commit ff8a301f6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -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)',