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

Why not use tailwindcss implement? #18

Closed
jet10000 opened this issue Jul 12, 2021 · 3 comments
Closed

Why not use tailwindcss implement? #18

jet10000 opened this issue Jul 12, 2021 · 3 comments

Comments

@jet10000
Copy link

great, but Why not use tailwindcss implement?

This can bring a lot of customization flexibility

@lucaslarroche
Copy link
Member

Because I prefer to code like this:

<form>
  <input type="text">
  <button type="submit">Action</button>
</form>

Rather than like this:

<form class="form form-modifier margin padding align">
  <div class="input-wrapper input-wrapper-modifier margin padding">
    <input type="text" class="input input-type-modifier input-style-modifier input-size-modifier">
  </div>
  <button type="submit" class="button button-style-modifier button-size-modifier action-trigger margin padding">
    Action
  </button>
</form>

More information

@jet10000
Copy link
Author

jet10000 commented Jul 12, 2021

Tailwindcss has a tailwindcss-typography plugin, if implement picocss as a tailwindcss-picocss plugin, maybe it bring simplicity and flexibility at the same time.

<article class="prose">
  {{ markdown }}
</article>
<body class="pico">
  <form>
    <input type="text" class="text-green-500">
    <button type="submit">Action</button>
  </form>
</body>

@lucaslarroche
Copy link
Member

I'm open for a tailwindcss-picocss plugin.

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

2 participants