Skip to content

Conversation

Monkatraz
Copy link
Contributor

Was part of my old PR. Quoting myself:

In detail, normal properties use the entity.other.attribute-name.svelte scope, while CSS variables use the support.type.property-name.svelte scope. These tend to have slightly different syntax highlighting in most themes, but the way they are highlighted is consistent with CSS properties. I figure that it should be clear - even in highlighting - that these are not really attributes in the normal sense.

Monokai Dimmed shows this well (My theme, Dark+, and Light+ all highlight those two scopes the same way)
image

@dummdidumm dummdidumm merged commit 839bdb7 into sveltejs:master Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants