Home Download Buy Blog Forum Support

Solarized Light highlights make some text invisible

Solarized Light highlights make some text invisible

Postby karljs on Fri Jul 12, 2013 10:08 pm

When using the Solarized Light scheme, certain dark text is rendered invisible when selected, as seen in the following screenshot:

Image

Is there an easy way to fix this?
karljs
 
Posts: 10
Joined: Fri Jun 22, 2012 5:33 am

Re: Solarized Light highlights make some text invisible

Postby Eduan on Sat Jul 13, 2013 8:20 pm

Change the theme itself... To be honest there's no real solution to this. Selecting text changes it's background, and the Solarized theme has set this background color to the text color that may sometimes be used.

Although AFAIK there should be no text with this color if I remember right...
Check out my blog and website: EduanTech.com (currently undergoing some facial and organs makeover...)
Also check out my profiles: GitHub - Greduan | BitBucket - Greduan
Eduan
 
Posts: 140
Joined: Sun Oct 14, 2012 4:05 pm

Re: Solarized Light highlights make some text invisible

Postby karljs on Sun Jul 14, 2013 4:24 am

I did a bit of digging in the theme file and found the culprit. This color (0x073642), which the original solarized theme defines as strictly a background color (base02), is used for text associated with "storage". It's easy enough to change, but still a hassle since it will be overwritten with updates. I assume this is an issue that goes back to the original Textmate theme, but I'd really like to see it fixed.
karljs
 
Posts: 10
Joined: Fri Jun 22, 2012 5:33 am

Re: Solarized Light highlights make some text invisible

Postby svenax on Sun Jul 14, 2013 11:29 pm

I have been using Solarized all since it first appeared, both with TextMate and Sublime Text. It always bothered me that the selection is so dark though, so the first thing I do is to change the selection color to #DDDDDD. OK, this color is not really part of the Solarized palette, but it works great for me and does not clash with anything else.

For Sublime Text 3 you can make the changes to a copy of Color Scheme - Default/Solarized (Light).tmTheme inside your Packages folder. That way it will not be touched if the original file is updated.
svenax
 
Posts: 150
Joined: Tue Dec 20, 2011 12:47 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 19 guests