Replies: 1 comment
-
Hey! Are you able to share some code on how you setup the theme? I am not super familiar with Gatsby themes just yet, but I'd love to take a look 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use TailwindCSS (v. 2.x) in a theme plugin. My theme works fine, importing the
src/styles/globals.css
ingatsby-browser.js
. Also, I get no warnings when Igatsby build
orgatsby develop
.When I include the theme in a site, my
gatsby-browser.js
import seems gone (a theme fontFamily is not found), and duringgatsby build
I get a warning warning about purging not configured.Is it possible to build a theme plugin that completely encapsulates the use of TailwindCSS?
Beta Was this translation helpful? Give feedback.
All reactions