Adam Wathan
57284d92b0
Fix style, run whole test suite dummy
2019-03-25 08:00:06 -07:00
Adam Wathan
e5a97a1b04
Test that theme function resolves functions deeply
2019-03-25 07:59:10 -07:00
Brad Cornes
be3be14586
add failing test
2019-03-24 20:10:09 +00:00
Adam Wathan
f5e8c74639
Don't mutate variants in user's config
2019-03-22 13:13:39 -04:00
Adam Wathan
7e1113561a
Don't mutate the user's config when resolving
2019-03-22 12:47:21 -04:00
Adam Wathan
509b698bfc
Simplify resolveConfig slightly, try to catch more in tests
2019-03-18 11:21:32 -04:00
Jarek Radosz
62972a7693
Lazily evaluate values in the extend section
...
In a way this combines PRs #655 and #774 .
2019-03-17 05:31:35 +01:00
Adam Wathan
fcd0f364db
Pass theme to closures as function instead of object
2019-03-16 16:22:31 -04:00
Adam Wathan
c56b56db3e
Fix code style
2019-02-14 07:48:57 -05:00
Adam Wathan
e1dd08dad3
Add test to document extend is not deeply merged
2019-02-14 07:43:50 -05:00
Adam Wathan
d95d28eec8
Fix code style
2019-02-13 14:25:37 -05:00
Adam Wathan
8ff2b59096
Add first class support for extending the default theme
2019-02-13 13:07:41 -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