Sublime Forum

Rulers invisible and cannot change color

#1

I created my own theme and the rulers have dissapeared.
if the foreground color is 000000, the ruler will be invisible, if you set 101010 it will appear again. My solution was to make it 000000FF.

Buy why can’t we set the ruler color? and why 000000 will make it invisible and 101010 is ok?

<array>
	<dict>
		<key>settings</key>
		<dict>
			<key>background</key>
			<string>#6A7EA5</string>
			<key>caret</key>
			<string>#FFFFFF</string>
			<key>foreground</key>      <!--000000 Makes ruler invisible???-->
			<string>#000000FF</string> <!--000000FF makes it appear-->
			<key>invisibles</key>
			<string>#FFFFFF26</string>
			<key>lineHighlight</key>
			<string>#D8B82A</string>
			<key>selection</key>
			<string>#A04040</string>
			<key>gutter</key>
			<string>#002233</string>
			<key>gutterForeground</key>
			<string>#505070</string>
			<key>guide</key> <!-- This does not work (found on internet)-->
			<string>#000000</string>
			<key>activeGuide</key>
    		<string>#FF0099AA</string>
    		<key>stackGuide</key>
    		<string>#FF9900AA</string>
		</dict>
	</dict>
0 Likes

#2

The color is determined by:

00000000
RRGGBBAA

So if you set it to 00000000 your alpha (opacity) is 0, so of course it won’t show anything.

0 Likes