Element not taking styles after assigning class
kingy86 opened this issue · comments
Mark King commented
After assigning a class name to the Button component to give it custom styles, it isn't taking the styles and VSCode shows the class in the styles as being unused.
Jesper Nysteen commented
I believe that you're affected by this general issue in Svelte: https://stackoverflow.com/questions/67049219/class-styling-on-a-custom-component-in-svelte-does-not-register