-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Allow suggest icons to be themeable #125998
Comments
same problem,Is there any way to setting the icon color when selected? |
This is because the active state for IntelliSense has been updated to match the rest of our active states in tree views: This means that any icon that is part of the focused state is inverted to maintain a high contrast. This becomes challenging when themes deviate from the default focus state. |
Thanks @misolori. Sorry, I missed these changes while reading the release notes. I see there are three configurations to change the colors of selected/focused items. Instead of directly changing the colors, can we provide the default values same as previous values and someone who wants to change these color can override these.
|
Unfortunately this won't change the IntelliSense icon colors as the focus items is intended to have the highest contrast. The best option is to reach out to the theme owners to provide a better focus state for their theme. As I mentioned before, when themes deviate from the default styles it certainly makes it challenging to make the theme look good. As a good example for the Cobalt theme, here's some settings i'd suggest for the theme author: "workbench.colorCustomizations": {
"[Cobalt2]": {
"editorSuggestWidget.selectedForeground": "#fff",
"editorSuggestWidget.selectedBackground": "#1f4662"
},
} |
Is there any way to make the words in high contrast while remain the icon as the same colour as the former versions of vscode? |
I'll be working on creating a proposal that will allow themes to opt-in to this new style rather to auto-opting all themes. |
This will be in tomorrow's Insiders version, themes will now need to opt-in to theme the suggest icon via For verification:
|
I suggest that it be possible for |
I second that, creating a new theme just for unsetting the suggestion icon color feels cumbersome. |
Given that we don't currently support unsetting color tokens from settings I've created #128062 to track this. Please upvote and subscribe if you are interested in that one. |
Issue Type: Bug
I updated the VS Code today and after updating it when I started writing code, I found that the colour of import suggestions as well as
object.method
suggestions' icon and text colour got changed. Previously, it was blue but now it is kind of grey. Because of this, I am not able to distinguish between local suggestions(words that are used in the current file) and actual functions/properties/imports.I also tried removing the Cobalt2 theme and using vscode default theme but still, it is the same. Please check the below screenshot. The
publishCleanupEvent
should have appeared in the blue. I know that we can customise the colour of suggestions but I haven't touched any settings related to it.Edit: I found that the suggestion colour is the same but the current selection's colour is changing.
VS Code version: Code 1.57.0 (Universal) (b4c1bd0, 2021-06-09T17:22:31.215Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (15)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: