generoi / tailwindcss-gutenberg

68 stars 12 forks source link

Use plugin options to enable/disable modules #3

Open hacknug opened 4 years ago

hacknug commented 4 years ago

Something like this would allow for more complex configurations in case we need it in the future 👍

// tailwind.config.js
{
  plugins: [
    require('tailwindcss-gutenberg')({
      colors: true,
      fontSizes: true,
      foregroundColors: true,
      alignments: true,
      admin: true,
    }),
  ],
}

Let me know if you'd like me to open a PR with the changes.

oxyc commented 4 years ago

I like it. We'll accept a PR for sure.