wesbos / cobalt2

Tweaked and refined Sublime Text theme based on the original cobalt.
1.56k stars 154 forks source link

Don't get the same color as in the README example #168

Open Ganbin opened 5 years ago

Ganbin commented 5 years ago

Hi,

I have installed the Cobalt2 theme for Sublime and I don't get the same colorization as in the JavaScript example screenshot. Here is a screenshot of my code.

Cobalt2 Theme JavaScript Color Test

Can someone explain me if it is normal that I don't get the same colorization ?

Thanks

rosston commented 5 years ago

I'm not a maintainer, so the official answer might be different.

But in my experience, yes, it is normal that you don't get the same colorization as in the example screenshot. The example screenshot in the Readme is over 4 years old, so it's a little off at this point. And if I copy your code into Sublime Text, I get the same colors as you.

It's also possible that some of the changes are due to Sublime Text changing some syntax highlighting scopes in v3.1 (see https://github.com/wesbos/cobalt2/issues/164#issuecomment-407455190).