generoi / tailwindcss-gutenberg

69 stars 12 forks source link

Prevent the plugin from breaking when config is empty #5

Closed hacknug closed 5 years ago

hacknug commented 5 years ago

Plugin should either:

I think the second option will be better.

Again, let me know if you'd like me to open a PR fixing this 👍

oxyc commented 5 years ago

I'd rather pass default values than pulling them from the config. There's a few values where we could use WordPress default values I think but it's a bit annoying finding those...

Any PR that fixes the plugin breaking when config is empty is much appreciated 👍