Sublime Forum

Sunburst theme CSS highlighting issue

#1

For some reason CSS selectors aren’t highlighted when Sunburst theme is selected (as well as some other themes).

I’ve looked trough theme file and after I’ve disabled following ruleset (line 335)

<dict>
	<key>name</key>
	<string>✘ Meta.tag.inline</string>
	<key>scope</key>
	<string>source entity.name.tag, source entity.other.attribute-name, meta.tag.inline, meta.tag.inline entity</string>
	<key>settings</key>
	<dict>
			<key>foreground</key>
		<string>#E0C589</string>
	</dict>
</dict>

everything became all right and selectors was highlighted.

I assume that there is some bug in rulesets priorities or weights, since this rule was overriding more specific CSS selector rules.

0 Likes

#2

Also, in CSS-inside-HTML property names and values aren’t highlighted. However selectors are highlighted.

0 Likes

#3

Maybe is this fix? viewtopic.php?p=3548#p3548

0 Likes

#4

Yes, this fixes highlighting CSS inside HTML.

But not the problem described in first post.

0 Likes

#5

[quote=“falsefalse”]Yes, this fixes highlighting CSS inside HTML.

But not the problem described in first post.[/quote]

Would be nice to see a screenshot…

0 Likes