agnosticui
agnosticui copied to clipboard
Lots of warnings of unused CSS selector
Just installed AgnosticUI in a SvelteKit project, and I'm getting tons of warnings in the terminal console:
...
08:00:42 [vite-plugin-svelte] /Users/janos/dev/nodeviz-testapp/node_modules/agnostic-svelte/components/Avatar/AvatarGroup.svelte:92:0 Unused CSS selector ".avatar-group .avatar"
08:00:44 [vite-plugin-svelte] /Users/janos/dev/nodeviz-testapp/node_modules/agnostic-svelte/components/Table/Table.svelte:148:0 Unused CSS selector ".table-stacked th[data-label]::before"
...
Am I missing something?
Yes, I think it's a valid issue and an artifact of the fact we're copying the CSS over wholesale but there are a few Svelte SFCs that indeed have unused selectors as reported.
Let's keep this issue open for now and I'll have think on the best solution and find time to fix this. I'm very busy at the moment so it may be a while until I can tackle this properly. Sorry for the inconvenience!