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

Tailwind plugin #24

Open
pksunkara opened this issue Jul 12, 2023 · 0 comments
Open

Tailwind plugin #24

pksunkara opened this issue Jul 12, 2023 · 0 comments

Comments

@pksunkara
Copy link

@rektdeckard Would appreciate a tailwind plugin. Something similar to https://github.com/egoist/tailwindcss-icons

I have a personal app that is a non-SPA and serves HTML from the backend using a template engine. This leads to us importing the whole icon CSS without shaking in the link element.

Benefits of the tailwind plugin:

Tailwind generates CSS only for those classes which we use. This means, if we have a plugin, tailwind only adds the icons' CSS which we use (Effectively tree-shaking the CSS) and it reduces the stylesheet size user needs to download.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant