Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of warnings of unused CSS selector #234

Open
jarecsni opened this issue May 31, 2022 · 1 comment
Open

Lots of warnings of unused CSS selector #234

jarecsni opened this issue May 31, 2022 · 1 comment
Labels
low priority low priority

Comments

@jarecsni
Copy link

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?

@roblevintennis
Copy link
Contributor

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!

@roblevintennis roblevintennis added the low priority low priority label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority low priority
Projects
None yet
Development

No branches or pull requests

2 participants