Adam Wathan
2342d72c5e
Use existing parameter
2019-02-13 14:22:45 -05:00
Adam Wathan
8ff2b59096
Add first class support for extending the default theme
2019-02-13 13:07:41 -05:00
Adam Wathan
acee88312a
Merge pull request #652 from tailwindcss/normalize-npm
...
Depend on normalize.css properly
2019-02-11 18:40:38 -05:00
Adam Wathan
32fd2151c8
Depend on normalize.css properly
2019-02-11 15:49:12 -05:00
Adam Wathan
030c2c31d4
Merge pull request #651 from tailwindcss/preflight-to-base
...
Remove preflight CSS export in favor of base
2019-02-11 12:55:35 -05:00
Adam Wathan
f6e40afb28
Build base instead of preflight
2019-02-11 12:46:19 -05:00
Adam Wathan
291ee6653e
Remove preflight CSS export in favor of base
2019-02-11 12:38:46 -05:00
Adam Wathan
48d055b7e2
Merge branch 'master' into next
2019-02-08 11:19:15 -05:00
Adam Wathan
f83ad51382
Update dependencies
2019-02-08 11:19:04 -05:00
Adam Wathan
e6371fc76f
Merge pull request #650 from tailwindcss/preflight-plugin
...
Convert preflight to plugin
2019-02-08 09:31:15 -05:00
Adam Wathan
a9bab6ebb6
Add preflight to tailwindcss/plugins folder
2019-02-08 09:26:34 -05:00
Adam Wathan
9a3eee5afc
Don't handle preflight separately in corePlugins
...
If we do, we have to handle disabling/custom configuration separately too, which we don't want.
This really suggests I should prioritize adding a more black-box level test for this part of the codebase.
2019-02-07 15:31:11 -05:00
Adam Wathan
a9a0cf03e5
Move preflight CSS into plugins directory
2019-02-07 15:27:17 -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
29f3b6415f
Merge pull request #649 from tailwindcss/plugin-base-styles
...
Allow plugins to register base styles
2019-02-07 15:12:02 -05:00
Adam Wathan
4a505be390
Load plugin base styles at @tailwind base
2019-02-07 15:09:18 -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
0de9df3de9
Use correct variant config for backgroundSize plugin
2019-02-07 09:12:24 -05:00
Adam Wathan
407d84994d
Merge branch 'benface-issue/608'
2019-02-07 09:10:37 -05:00
Adam Wathan
f69e02cf2f
Fix conflicts
2019-02-07 09:10:20 -05:00
Adam Wathan
5da20369bc
Merge pull request #645 from tailwindcss/theme-closures
...
Support using closures as theme values to enable self-referencing
2019-02-06 14:49:45 -05:00
Adam Wathan
8aabccb8d4
Fix code style
2019-02-06 14:29:05 -05:00
Adam Wathan
c2118be312
Merge pull request #648 from tailwindcss/responsive-nested-at-rules
...
Properly handle deeply nested at-rules inside of `@responsive`
2019-02-06 14:27:50 -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
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
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
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