Sublime Forum

Whitespace color or transparency

#1

Is there a way to adjust the color or transparency of drawn whitespaces?

I’m trying to change this


To look more like this


as I find the former to be too “invasive”.

I tried editing a .tmTheme file, but could not find a property for this.

0 Likes

Tabs and spaces color modification
#2

Anyone know how to do this?

0 Likes

#3

To change tabs in the whitespace (spaces don’t seem to be affected) add transparency to your foreground key…

<key>foreground</key>
<string>#E8E0CE40</string>
0 Likes

#4

To avoid having to modify the color scheme definition file directly, one may instead navigate the Sublime Text menu > Settings… > Customize Color Scheme and then modify the *.sublime-color-scheme override file such that:

  "globals":
  {
    "invisibles": "#E8E0CE40"
  },
0 Likes