svelte-intellij icon indicating copy to clipboard operation
svelte-intellij copied to clipboard

Add completions for :global(...) modifier in styles

Open AleksandrSl opened this issue 4 years ago • 1 comments

<style> blocks in components can have :global(...) modifier (https://svelte.dev/docs#style). At the moment css completion doesn't take these styles into account.

Related to #60 and #70

AleksandrSl avatar Oct 25 '19 12:10 AleksandrSl

Also relevant:

If you want to make @keyframes that are accessible globally, you need to prepend your keyframe names with -global-.

The -global- part will be removed when compiled, and the keyframe then be referenced using just my-animation-name elsewhere in your code.

tomblachut avatar Aug 11 '20 18:08 tomblachut

Moved to WEB-62307 Svelte: add completions for :global(...) modifier in styles

tomblachut avatar Aug 01 '23 18:08 tomblachut