tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

CSS Custom Properties - resolve not working #95

Closed ryc76 closed 3 years ago

ryc76 commented 4 years ago

Hi

It appears CSS Custom Properties are not supported. For example if you create a custom property

<style type="text/css">
:root {
      --field-border-top: #ebebe0 1px solid;
}
.all-borders {
      border-radius: var(--field-border-top);
}
</style>

Webstorm will display a error stating "Cannot resolve --field-border-top custom property.

Thanks

tomblachut commented 4 years ago

Thanks for reporting. I don't know yet why it isn't working.

tomblachut commented 3 years ago

Fix released as part of 0.17.*