CSS3
CSS3 copied to clipboard
`:global()` support
Hi :)
I'm using CSS3 with Svelte, and it seems CSS3 doesn't get Svelte global().
Could they know each other better?
this package seeks to follow the specs and :global is a concept from CSS Modules. IMO it shouldnt be part of this package, but I do empathize with wanting to see that properly highlighted.
i've "shown the package contents" for the plugin and edited CSS3.sublime-syntax so global highlights, check it out:

before:

after:

took me just a minute or 2, and should allow you to pacify that nagging highlighting. thoughts on a self patch instead of having the fix be upstream?
Would like to see this in upstream too. Not sure how to show package contents.
There's quite a lot of usage of :global(). Github search tells me 18.1k files.
https://github.com/search?q=language%3Asvelte+%3Aglobal%28&type=code
related: :global {} https://github.com/sveltejs/svelte-preprocess#global-rule