Sublime Forum

Solarized Theme CSS syntax highlighting

#1

Hi,

There seems to be a slight issue with the closing bracket in CSS files when using the Solarized theme.
I don’t know if the theme is at fault or sublime. (Guessing the theme?)


0 Likes

#2

Confirmed. It seems that the color for the closing brace is the standard color (red), where the one for opening brace is not quite right. We have to change either one. I’ll look up tomorrow.

0 Likes

#3

Hi, I’ve just come across this issue. Any update on solving it?

Thanks,
Aaron

0 Likes

#4

Open Packages/CSS/CSS.tmLanguage and change line 253 to:

<string>(\})</string>

Should work.

0 Likes

#5

Bingo. Thanks!

0 Likes

#6

[quote=“nick.”]Open Packages/CSS/CSS.tmLanguage and change line 253 to:

<string>(\})</string>

Should work.[/quote]

Hey Nick! Thanks! That worked like a charm. Any ideas on how to solve this one: cl.ly/image/0x1o1k1Z2S2G?

0 Likes