You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the best process for using Tailwind to style Gutenberg blocks in WordPress?
My approach was to create a test page containing all the core blocks using the Block Unit Test plugin (https://github.com/godaddy-wordpress/block-unit-test) and styling it via a shim file (gutenberg.css) which contains a lot of @apply directives.
I tried using the typography plugin, but that didn't feel any easier to me.
It would be great if we could share approaches here – given how pervasive WordPress is I'm sure there are many of us trying to work out the best path.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best process for using Tailwind to style Gutenberg blocks in WordPress?
My approach was to create a test page containing all the core blocks using the Block Unit Test plugin (https://github.com/godaddy-wordpress/block-unit-test) and styling it via a shim file (
gutenberg.css
) which contains a lot of@apply
directives.I tried using the typography plugin, but that didn't feel any easier to me.
It would be great if we could share approaches here – given how pervasive WordPress is I'm sure there are many of us trying to work out the best path.
Beta Was this translation helpful? Give feedback.
All reactions