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

Use purged stylesheet as default #1

Open
estevanmaito opened this issue May 24, 2020 · 0 comments
Open

Use purged stylesheet as default #1

estevanmaito opened this issue May 24, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@estevanmaito
Copy link
Owner

Right now, Tailwind is not being purged, so the live editors can work with the full capacity of the framework, but it comes with some problems:

  • All CSS is download in the first view
    • On lower speed connections, content will remain unstyled for longer periods
    • People just interested in looking at the examples or grabbing code, don't need all styles

It would not be difficult to offer two version of Tailwind, one purged and another complete, but how could we present the option to load the complete one?

  • A button/badge near every editor saying something like "You're using a purged version, click to load the complete styles". It could be visible, or appear when editor gets focused.

Would be great to hear more ideas.

@estevanmaito estevanmaito added the help wanted Extra attention is needed label May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant