Sublime Forum

:hover in sublimetext version 3.0 build 3143 the color does not change to green

#1

Hello guys.
When typing the class :hover in sublimetext version 3.0 build 3143 the color does not change to green just like other classes.
Example in the image below.
Can you tell me why?

0 Likes

#2

because the color scheme you are using doesn’t color the scope entity.other.pseudo-class.css, probably it is an oversight if you are using the built-in Monokai color scheme.
Try https://packagecontrol.io/packages/MonokaiFree instead, it’s got a comprehensive test suite to ensure most things have colors, and if something is missing you can log an issue.

0 Likes

#3

The default Mariana color scheme also does not highlight that scope; entity.other not a standard scope. This is arguably a poor choice of scope in the default CSS syntax.

Mapping CSS syntax to standard scopes is pretty subjective, but perhaps something under support might be more appropriate.

1 Like