Skip to content

Commit ff8a301

Browse files
Enhance contrast for selected and hovered items in the Object Explorer to improve visibility and accessibility. #8595
1 parent 27bd28e commit ff8a301

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

web/pgadmin/static/js/Theme/overrides/reactaspen.override.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ export default function reactAspenOverride(theme) {
120120
'span.file-name': {
121121
color: theme.otherVars.tree.textHoverFg,
122122
},
123+
'span.children-count': {
124+
color: theme.otherVars.tree.textHoverFg
125+
},
123126
},
124127
},
125128

@@ -154,13 +157,19 @@ export default function reactAspenOverride(theme) {
154157
font: 'inherit',
155158
flexGrow: 1,
156159
userSelect: 'none',
157-
color: theme.otherVars.tree.textFg,
158160
cursor: 'pointer !important',
159161
whiteSpace: 'nowrap',
160162
'&:hover, &.pseudo-active': {
161163
color: theme.otherVars.tree.fgHover,
162164
},
163165
},
166+
167+
'span.children-count': {
168+
'&:hover, &.pseudo-active': {
169+
color: theme.otherVars.tree.fgHover,
170+
},
171+
},
172+
164173
'div.file-tag': {
165174
color: 'var(--tag-color)',
166175
border: '1px solid color-mix(in srgb, var(--tag-color) 90%, #fff)',

0 commit comments

Comments
 (0)