DevTools: Accessibility - Fix TreeOutline item contrast ratio
Small patch to fix an issue with the colors of the TreeOutine. Specifically, in the dark theme the selected item in the tree does not have sufficient contrast when focus is placed outside the tree. The following image shows the change: https://imgur.com/a/WXY2CtT The fix was to add a new css variable into inspectorStyle.css which is given the existing foreground color in the light theme, but is over- ridden in the dark theme with a better contrasting color. The new color is then applied in treeoutline.css to selected non-focused items. Change-Id: Iec42e6dbbc2264651dd9c6b0238a1e65ecf6246b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1540270Reviewed-by:Joel Einbinder <einbinder@chromium.org> Commit-Queue: James Lissiak <jalissia@microsoft.com> Cr-Commit-Position: refs/heads/master@{#644826}
Showing
Please register or sign in to comment