7 Commits

Author SHA1 Message Date
Adam Wathan
38b4eeb288 Prettier likes parens a lot now
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
Adam Wathan
e3ed12782f Update prettier 2020-10-16 13:30:06 -04:00
Adam Wathan
0feb064054
Support disabling dark mode globally (#2530)
* Support disabling dark mode globally

* Update changelog
2020-10-09 10:37:15 -04:00
Adam Wathan
32eac19858
Allow variant plugins to tell Tailwind they should stack (#2382)
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380)

* Add failing tests for non-darkModeVariant "dark" variant stacking behavior

* Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass)

* Add unstable_stack option for variants to tell Tailwind they should stack

* Update eslint to allow unstable_ variables

* Update changelog

Co-authored-by: Navith <28162694+JakeNavith@users.noreply.github.com>
2020-09-14 09:12:36 -04:00
Adam Wathan
0cf76cdd8b
Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant (#2337)
* Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant

* Update changelog
2020-09-06 20:34:35 -04:00
Adam Wathan
02eb6a695c
Fix issue where dark mode experiment won't work if user has plugins array in config (#2322) 2020-09-04 19:58:02 -04:00
Adam Wathan
5701d7847b
Add dark mode variant (#2279)
* Initial dark mode prototype

* Isolate dark mode logic to config extension

* Update fixtures

* Fix lint warnings
2020-09-01 13:16:00 -04:00