RI-7766 Remove old color override for the selected state of the keys badges #5292
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Make the badges for the keys in the browser, to remain readable once the key is selected (on light theme).
Note: This component needs refactoring, because there are plenty of SASS styles that should be dropped.
Testing
SET hello worldin the CLI)Observe the colors of the badge when the key is selected. It should remain readable.
Note
Removes the
.nodeSelected .nodeContent *color override so selected key badges keep readable colors while retaining active background and border.redisinsight/ui/src/pages/browser/components/virtual-tree/components/Node/styles.module.scss, removenodeSelected .nodeContent * { color: var(--euiColorFullShade) !important; }to avoid forcing text color on selected items.border-left-color,background-color) remains unchanged.Written by Cursor Bugbot for commit dd8c534. This will update automatically on new commits. Configure here.