laosb / SvelteNova

Svelte language support for Panic's Nova Editor.
https://extensions.panic.com/extensions/sb.lao/sb.lao.svelte-nova/
MIT License
19 stars 3 forks source link

Nova Color Picker within svelte files #13

Open notnotjake opened 1 year ago

notnotjake commented 1 year ago

Inside a style tag in a .svelte file, Nova's Color Picker is not being utilized

laosb commented 1 year ago

It's possible to mark colors to Nova with tree-sitter. I will take a look at what rules I need to extract colors when I'm free. Thanks for pointing this out!

For my own (or anyone who want to contribute) reference:

laosb commented 1 year ago

@notnotjake After some digging around, I don't think there's much what I can do here. It should be shown by the official CSS extension, since all style= attributes and <style> tags are designated as CSS code injections for the official CSS extension. Do you have an example where the color picker works in a 3rd party template language's CSS?