4079 Commits

Author SHA1 Message Date
Adam Wathan
a38f15fb35
Merge pull request #642 from justinanastos/fix/641/resposive-nested-atrules
Adding responsive variants for custom variants with atRules does not work as exepcted
2019-02-06 07:57:47 -05:00
Sjors Ottjes
eda3848772
Add more width fractions 2019-02-06 09:08:22 +01:00
Adam Wathan
0318bd25d8 Remove colors constant 2019-02-05 20:42:14 -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
a4854006ba
Merge pull request #644 from tailwindcss/configure-plugins
Allow users to override a core plugin's configuration
2019-02-05 15:03:27 -05:00
Adam Wathan
a1872539b5
Merge pull request #637 from tailwindcss/config-restructuring
Restructure config file for 1.0
2019-02-05 13:56:02 -05:00
Adam Wathan
44bccca3d0 Fix code style 2019-02-05 13:37:05 -05:00
Adam Wathan
ef833125e6 Use configurePlugins when loading core plugins 2019-02-05 13:36:41 -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
40bb6c619d Add nested atRule support to substituteResponsiveAtRules 2019-02-05 10:15:59 -05:00
Justin Anastos
3785a9cda6 Add test for nested atRules in responsiveAtRule 2019-02-05 10:15:59 -05:00
Matt Stypa
84a571235c Refactored the CLI build process to use configuration object instead of many arguments. 2019-02-04 21:42:27 -06: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
a4bdae4d63 Extract default theme to separate file 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
f8ddb7696c Remove theme comments
Eventually users won't even be able to generate this file this way,
so these comments just aren't valuable to store anymore.
2019-02-01 12:32:50 -05:00
Adam Wathan
65336798ae Inline theme into default config 2019-02-01 12:32:50 -05:00
Adam Wathan
efc7927078 Rename styles to theme 2019-02-01 12:32:50 -05:00
Adam Wathan
3fbd6b300a Disable plugins using corePlugins instead of variants 2019-02-01 12:32:50 -05:00
Adam Wathan
d98e97f3ec Rename modules to variants 2019-02-01 12:32:50 -05:00
Adam Wathan
c56ae6c6b4 Move modules outside of styles to top level key 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
760e93bd38 Use user's specified default border color 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
8b1b797b9f
Merge pull request #636 from tailwindcss/test-important
Add sanity test for `important` option
2019-02-01 12:31:50 -05:00
Adam Wathan
c1572aebd9 Fix style 2019-02-01 12:31:34 -05:00
Adam Wathan
6dfa4e848a Re-enable autoprefixer in build 2019-02-01 12:27:49 -05:00
Adam Wathan
269b244b8d Add sanity test for enabling important option 2019-02-01 12:26:34 -05:00
Adam Wathan
df507aba24
Merge pull request #633 from tailwindcss/fix-cli-tests
Return expectation promise in CLI test cases
2019-01-31 20:14:22 -05:00