Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change hover color for quick picker

Is it possible to change the color for quick picker selected option via settings?

enter image description here

like image 845
jfmarquez Avatar asked Jun 09 '26 23:06

jfmarquez


2 Answers

To keep your current theme and change just this color, find "Workbench: Color Customizations" in your settings and click "edit in settings.json", and add the following to the user settings on the right side of the screen:

"workbench.colorCustomizations": {
  "list.focusBackground": "#CCCCCC"
},

You can replace it with any color you'd like.

like image 129
jparkrr Avatar answered Jun 11 '26 20:06

jparkrr


You can install or download a new theme via:

Files -> Preferences -> Color Theme

Or you can create your own theme from scratch or reuse of an existing one with the VSCE tool:

https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers

Or you can simply find the theme in the folder::

\Microsoft VS Code\resources\app\extensions

Where the colors are saved in JSON files.

The defaults are in the:

\theme-defaults\themese

Here is the Visual Studio Light (light_defaults.json), where I just changed the list.hoverBackground color to some hideous purple:

{
    "$schema": "vscode://schemas/color-theme",
    "name": "Light Default Colors",
    "colors": {
        "editor.background": "#FFFFFF",
        "editor.foreground": "#000000",
        "editor.inactiveSelectionBackground": "#CCCCCC",
        "editorIndentGuide.background": "#D3D3D3",
        "editorIndentGuide.activeBackground": "#939393",
        "editor.selectionHighlightBackground": "#FFFFE0",
        "editorSuggestWidget.background": "#F3F3F3",
        "activityBarBadge.background": "#007ACC",
        "sideBarTitle.foreground": "#6F6F6F",
        "list.hoverBackground": "#FF00FF",
        "input.placeholderForeground": "#ADADAD"
    }
}

--- update ---

Different themes use more or fewer options depending on how much they vary from the default color. Missing ones can be added too. The ones you are looking for here are called list.hoverBackground and list.highlightForeground and they are pretty general affecting lots of different areas in VS Code.

"list.hoverBackground": "#ffffff",
"list.highlightForeground": "#bbdaff",
like image 35
Jan Andersen Avatar answered Jun 11 '26 22:06

Jan Andersen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!