Add editorOverviewRuler.background colour customisation point#93732
Add editorOverviewRuler.background colour customisation point#93732aeschli merged 1 commit intomicrosoft:masterfrom robertrossmann:feat/editor-overview-ruler-background
Conversation
|
I just rebased this on top of current master. Is there anything I can do to get this merged in? 🙏 ❤️ @aeschli Thanks in advance! |
|
Change and color name looks good to me. @alexdima Any concerns? |
|
Any hopes of getting this in before the endgame freeze? 🙏 I would love to see this in 1.45 release. ❤️ Thanks a lot! |
|
Yay, thanks for getting this in for the April release! ❤️🚀 |
Again, very bleeding-edge. See microsoft/vscode#93732
# [4.9.0](4.8.0...4.9.0) (2020-04-27) ### Features * customise the overview ruler's background ([f99c258](f99c258)), closes [microsoft/vscode#93732](microsoft/vscode#93732) ### Reverts * Revert "feat: add border below tab groups" ([9597105](9597105))
|
Hi robertrossmann, I use VS Code in my Windows-10. I like its color theme "Tomorrow Light Blue". And have successfully changed some colors of this theme(e.g. color for comment, color for selection-highlight etc) by modifying content of a file named "tomorrow-night-blue-theme.json". But one COLOR I've been trying so hard just couldn't manage to change it. That is color of "searching result", the color is insignificant that makes located results hardly to be differentiated. Hope you can assist. Thank you! |
|
@nazartt8 I think you should not modify the theme file directly, instead, change the colours in your settings: https://vscode.readthedocs.io/en/latest/getstarted/theme-color-reference |
|
@robertrossmann Thanks so much. You've saved my time. And I've learned new thing. It works now. Appreciated! |
Allow themes to customise the editor overview ruler's background colour. 🎨 This PR adds a new theme variable,
editorOverviewRuler.background. The background colour is used in only certain circumstances:You can see the background colour in action in the screenshots below.
Motivation
In my theme, Remedy, I try to follow a simple rule - code gets its background colour and everything else (UI elements) get a different colour to distinguish UI from "codable area". The overview ruler did not fit into that scheme.
Screenshots
Before this PR / no colour configured for

editorOverviewRuler.backgroundAfter this PR and a colour provided for

editorOverviewRuler.backgroundMinimap is on left side of the editor -> no background colour used

Minimap is disabled -> no background colour used

Diff views do not have a minimap -> no background colour used
