muhajirdev / gatsby-plugin-tailwindcss

Plug Tailwind CSS to your Gatsby website
https://www.npmjs.com/package/gatsby-plugin-tailwindcss
46 stars 3 forks source link

how to use custom tailwind utilities with this plugin? #3

Open ovsw opened 5 years ago

ovsw commented 5 years ago

Hi, I'd need to insert some custom utilities into Tailwind, like described in the Tailwind docs here: https://tailwindcss.com/docs/adding-new-utilities

Where can I do this? There's no "main CSS file" to initialize Tailwind so there's nowhere for me to add my custom utilities...

muhajirdev commented 5 years ago

Hi @ovsw ,

Currently plugin is not supported.

See some discusssions here https://github.com/muhajirframe/gatsby-plugin-tailwindcss/issues/2 https://github.com/bradlc/babel-plugin-tailwind-components/issues/4#issuecomment-417664347

muhajirdev commented 5 years ago

And what custom utilities actually you want to insert? Since it's in JS, you're quite flexible do custom utility actually