Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monaco: fix styling in monaco suggest-overlay #10241

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes: #10239

The commit fixes the styling for focused elements in the monaco suggestion overlay:

  • applies the foreground color properly for focused elements
  • applies the background color properly for focused elements
  • styles the suggest-icon properly for focused elements

Light:

monaco-suggest-light

Dark:

monaco-suggest-dark

Monokai:

monaco-suggest-monokai

How to test

  1. open editors
  2. with different themes confirm that selections when triggering the suggestions are correctly styled

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

The commit fixes the styling for focused elements in the monaco
suggestion overlay:
- applies the foreground color properly for focused elements
- applies the background color properly for focused elements
- styles the `suggest-icon` properly for focused elements

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added theming issues related to theming monaco issues related to monaco ui/ux issues related to user interface / user experience labels Oct 6, 2021
@vince-fugnitto vince-fugnitto self-assigned this Oct 6, 2021
@vince-fugnitto
Copy link
Member Author

@Delwing would you like to give it a try :)

@Delwing
Copy link

Delwing commented Oct 6, 2021

That was lightning fast :) Checking :)

@Delwing
Copy link

Delwing commented Oct 6, 2021

Awesome. Fixes also other bundled themes. 👍🏻 💯

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I can confirm that the issue exists on master and is nicely addressed by these changes 👍

@vince-fugnitto vince-fugnitto merged commit 616c34e into master Oct 7, 2021
@vince-fugnitto vince-fugnitto deleted the vf/fix-monaco-styling branch October 7, 2021 14:18
@github-actions github-actions bot added this to the 1.19.0 milestone Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monaco issues related to monaco theming issues related to theming ui/ux issues related to user interface / user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Default themes have selection barely visible
3 participants