Adam Wathan
8ff2b59096
Add first class support for extending the default theme
2019-02-13 13:07:41 -05:00
Adam Wathan
690c7f2d52
Convert preflight to plugin
2019-02-07 15:19:54 -05:00
Adam Wathan
76c40e4394
Fix style
2019-02-07 15:13:17 -05:00
Adam Wathan
4007fc4d32
Test plugins can add base styles with raw PostCSS nodes
2019-02-07 14:06:24 -05:00
Adam Wathan
1d0b4cd31c
Test plugins can add base styles with object syntax
2019-02-07 14:05:00 -05:00
Adam Wathan
b8f965179c
Finish merge of master
2019-02-07 13:58:47 -05:00
Adam Wathan
b544febfcb
Use root instead of array to unify code paths
2019-02-06 14:23:38 -05:00
Adam Wathan
faf2be163f
Add failing test for using @responsive with deeply nested at-rules
2019-02-06 13:56:58 -05:00
Adam Wathan
04e1274e86
Rename mergeConfig to resolveConfig
...
Accept configs to resolve as an array to allow reuse when only resolving from a single config, update processTailwindFeatures to use resolveConfig even when no config is provided, update defaultTheme to self-reference colors.
2019-02-05 20:36:54 -05:00
Adam Wathan
40413690a2
Add support for lazy values in theme
2019-02-05 20:18:19 -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
Justin Anastos
3785a9cda6
Add test for nested atRules in responsiveAtRule
2019-02-05 10:15:59 -05:00
Adam Wathan
d165661da4
Fix failing test
2019-02-01 12:32:50 -05:00
Adam Wathan
083ab97e12
Fix code style
2019-02-01 12:32:50 -05:00
Adam Wathan
195cdec89e
Don't skip CLI tests
2019-02-01 12:32:50 -05:00
Adam Wathan
ffdc2b01c5
Intelligently deep merge user's config
2019-02-01 12:32:50 -05:00
Adam Wathan
b036cac4b5
Fix code style
2019-02-01 12:32:50 -05:00
Adam Wathan
f3097f9421
Move colors inside of theme
2019-02-01 12:32:50 -05:00
Adam Wathan
ec1bdd27ec
Move screens into theme config
2019-02-01 12:32:50 -05:00
Adam Wathan
95bb283a69
Rename defaultPlugins to corePlugins
2019-02-01 12:32:50 -05:00
Adam Wathan
fd22dea5ad
Always load core plugins by default
2019-02-01 12:32:50 -05:00
Adam Wathan
f10f1825ef
Remove special "modules" merge behavior
...
Modules key no longer actually exists in the config so this is pointless.
2019-02-01 12:32:50 -05:00
Adam Wathan
3d2a598c0e
Don't test for presence of defaultConfig in defaultConfig
2019-02-01 12:32:50 -05:00
Adam Wathan
99b5e90710
Move all config values back to single file
...
Temporary intermediate step.
2019-02-01 12:32:50 -05:00
Adam Wathan
2f9172cf8d
Update every plugin to accept its config as a parameter
2019-02-01 12:32:50 -05:00
Adam Wathan
326f35a72a
Remove options key from config
2019-02-01 12:32:50 -05:00
Adam Wathan
e8d16fcdb5
Move separator to top level config option
2019-02-01 12:32:50 -05:00
Adam Wathan
1a46f6b47d
Move important to top level option
2019-02-01 12:32:50 -05:00
Adam Wathan
664f923312
Move prefix option to top-level in config
2019-02-01 12:32:16 -05:00
Mark van den Broek
ee27bbac99
Removes img max-width and height,
...
Resolves #506 .
2019-02-01 12:32:04 -05:00
Adam Wathan
ffae87148d
Revert "Allow plugins to register new config variables"
2019-02-01 12:32:04 -05:00
Adam Wathan
5ea8bbe798
Allow plugins to register new config variables
2019-02-01 12:32:04 -05:00
Adam Wathan
c1572aebd9
Fix style
2019-02-01 12:31:34 -05:00
Adam Wathan
269b244b8d
Add sanity test for enabling important option
2019-02-01 12:26:34 -05:00
Adam Wathan
d2faab515b
Return expectation promise in CLI test cases
2019-01-31 20:12:13 -05:00
Adam Wathan
d9b675eb78
Removed unused references to experiments
2019-01-18 09:28:27 -05:00
Adam Wathan
b948c25499
Delete possibly last remnants of dead code
2019-01-14 15:43:12 -05:00
Adam Wathan
fe1b30b2d2
Remove prefixTree, update relevant tests
2019-01-14 15:43:12 -05:00
Adam Wathan
ca524ef7c2
Remove more dead code
2019-01-14 15:43:12 -05:00
Adam Wathan
5ade923fa4
Fix tests and lint warnings
2019-01-14 15:43:12 -05:00
Adam Wathan
6352843cde
Port zIndex module to default plugin
2019-01-14 15:43:12 -05:00
Adam Wathan
146b984617
Accept plugins as separate processPlugins arg
2019-01-14 15:43:12 -05:00
Adam Wathan
e82ef53f29
Add test for creating responsive variants of classes with non-standard characters
2019-01-14 14:20:29 -05:00
Adam Wathan
13ce379859
Add test for prefixing classes with non-standard characters
2019-01-14 14:18:36 -05:00
Mark Pinero
b74b381294
Update tests for tailwind-output.css
2018-11-17 14:04:45 -05:00