monaco: fix focused quick-input#10074
Conversation
|
Thanks @vince-fugnitto that looks great! I noticed an issue with the high-contrast theme: There's no way to track the focused element anymore as its background color is also black. Compare to vscode which paints an outline around selected elements: It seems like vscode has special css rules for high contrast themes that handle outlines for different elements. |
I think its part of a much bigger issue across the framework #6743 and also present on |
Sure, I just didn't notice it on |
The commit fixes the styling for the monaco `quick-input` by introducing additional colors (through the `ColorRegistry`) and applying specific styling when an entry is currently focused. The changes should: - properly apply a foreground color for focused entries (including label, keybinding, separator). - display properly when focused and fuzzy search results are present. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
877b48a to
453811a
Compare
|
@msujew I updated the pull-request to also style the focused icons similarly to vscode: For example, in the active-symbol.mp4 |
msujew
left a comment
There was a problem hiding this comment.
Quick input icons are now colored correctly as well 👍


What it does
The commit fixes the monaco
quick-inputstyling for entries which are focused by end-users.The change includes additional vscode colors (registered to the
ColorRegistry) and applies them to the focused elements.The changes should:
monaco-focused-updates.mp4
How to test
Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com