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

Developing blocks using Tailwind CSS #8

Open
dgwyer opened this issue Dec 20, 2021 · 1 comment
Open

Developing blocks using Tailwind CSS #8

dgwyer opened this issue Dec 20, 2021 · 1 comment
Labels
Topic Request A topic you'd like to see covered

Comments

@dgwyer
Copy link

dgwyer commented Dec 20, 2021

@ryanwelcher With the recent release of Tailwind CSS 3 this opens up some exciting opportunities for block styling.

It seems to be fairly straightforwrd to set this up for a single block. However, there doesn't seem to be a way to easily compile separate editor/frontend and editor only styles. At the moment I'm having to just include the editor only styles with the frontend styles which isn't really viable for production.

Furthermore, trying to get Tailwind to work with more than one block seems problematic. I couldn;t find an easy way to get this to work.

Perhaps this would make a good topic to explore in one of your screencasts?

@ryanwelcher ryanwelcher added the Topic Request A topic you'd like to see covered label Jan 3, 2022
@troychaplin
Copy link

Couple years late to the game here, but I'd love to learn more about this. I am currently using TW in my block plugin but it's always good to see / hear how others may approach doing it and see if I can improve my method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic Request A topic you'd like to see covered
Projects
None yet
Development

No branches or pull requests

3 participants