9 Commits

Author SHA1 Message Date
Adam Wathan
0e0ab3ab7a Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -04:00
Adam Wathan
27cef23a2c Support disabling all corePlugins with corePlugins: false 2019-04-17 08:15:37 -04:00
Adam Wathan
e99753bc33 Update plugins to source their config themselves
Instead of plugins being configured directly, they grab their configuration from the Tailwind config passed to them. This makes core plugins consistent with how we will recommend third-party plugins be authored so that the configuration for everything in the system is readable through the theme.
2019-02-28 14:53:55 -05:00
Adam Wathan
44bccca3d0 Fix code style 2019-02-05 13:37:05 -05:00
Adam Wathan
4c2be2ac2c Test custom core plugin config overrides default core plugin config 2019-02-05 11:00:43 -05:00
Adam Wathan
4afb9e45e6 Test core plugins fall back to a default config 2019-02-05 10:58:56 -05:00
Adam Wathan
c84b188626 Fix code style 2019-02-05 10:54:35 -05:00
Adam Wathan
b5806c8437 Test overriding a core plugin's config 2019-02-05 10:54:06 -05:00
Adam Wathan
ed20e59ba1 Test that setting a plugin to false in corePlugins disables it 2019-02-05 10:41:33 -05:00