Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace Tailwind with Pure CSS #446

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

Closed
Tracked by #447
fpliger opened this issue May 22, 2022 · 1 comment · Fixed by #452
Closed
Tracked by #447

Replace Tailwind with Pure CSS #446

fpliger opened this issue May 22, 2022 · 1 comment · Fixed by #452
Assignees
Labels
help wanted Extra attention is needed tag: styling Related to the styling of pyscript components type: feature New feature or request

Comments

@fpliger
Copy link
Contributor

fpliger commented May 22, 2022

Tailwind serves the goal of moving fast towards a first goal of having a minimum usable framework in place but it clearly shows its limitations in serving a framework like PyScript. This is mostly due to PyScript being a Framework and not an application. Here are a few of the problems:

  • Tailwind is too big for a framework resulting either in a huge chunk of CSS to load
  • Not all users are interested in the visual components and they are currently paying a (high) cost for something they are not using
  • PyScript should focus more on the flexibility of integrating well with applications and other frameworks. Tailwind is too invasive in that sense.

The goal is to replace Tailwind with pure CSS and maintain the overall look and feel of the current PyScript components.

@fpliger fpliger added type: feature New feature or request help wanted Extra attention is needed tag: styling Related to the styling of pyscript components labels May 22, 2022
@fpliger fpliger self-assigned this May 23, 2022
@leonardas103
Copy link

Won't just creating a minified version solve this?

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 tag: styling Related to the styling of pyscript components type: feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants