Replies: 2 comments
-
In my attempt to fix #125 I noticed that the reset.css is imported once with double quotes and the rest of the times with single quotes. In some component there's also |
Beta Was this translation helpful? Give feedback.
-
I updated the Primo Library components a few days ago to remove those imports, so I believe what you're seeing is components you copied from the library before then. Originally the imports were there since those components depend on the reset styles, but since they also depend on the default variables being defined in the Site CSS, it made sense to just have the reset import in the site CSS too. |
Beta Was this translation helpful? Give feedback.
-
@import url("https://unpkg.com/@primo-app/[email protected]/reset.css");
is repeated in every style block.Since svelte adds its own indentifiers (scoping) even if you add a root css rule in a component it won't mess with anything else. I believe reset should only be imported once.
Beta Was this translation helpful? Give feedback.
All reactions