16 Commits

Author SHA1 Message Date
David Luhr
6c7f3c8f8c Add background-origin utilities (#4117)
* Add background-origin utilities

* Update fixtures

* Update basic usage test

* Change sort order for background origin

* Move background origin after other background properties
2021-05-07 13:56:14 -04:00
Brad Cornes
ccd5177a19 always clone rule when applying variants 2021-05-07 13:56:14 -04:00
Jan Schär
aa4723f970 Fix media queries with jit and postcss7 (#4034) (#4078) 2021-05-07 13:56:14 -04:00
Robin Malfait
9546d337e6 Fix invalid arg type (#3978)
* default to `tailwind.css` file when no input is given

* skip undefined files

* update forgotten test fixtures
2021-05-07 13:56:13 -04:00
Adam Wathan
a05b36996b Add CSS filter support (#3923)
* Implement `filter` helper classes with all methods

* Rename filter plugins/utilities, drop filter opacity, add drop shadow

* Remove non-final default filter values

* Working on default filter values, add basic JIT support

* Working on blur values

* New blur values (these are ~okay)

* Match drop-shadow values to box-shadows by eye as best as possible

* Update tests

* Fix kitchen sink test

* Add filter variants configuration

* Move drop-shadow to end of filters list

Co-Authored-By: Peter Neupauer <peter@neupauer.sk>

* Add invert variants configuration

* Add backdrop-filter utilities

* Update tests

* Transition filters by default

* Alphabetize new config keys

* Optimize filter plugins for JIT + add arbitrary value support

Except for drop-shadow, will add that once we can think it through a bit.

Co-authored-by: Nick Schmidt <nick@kreativgebiet.com>
Co-authored-by: Peter Neupauer <peter@neupauer.sk>
2021-05-07 13:56:13 -04:00
Adam Wathan
f34214eccc Add mix-blend-mode and background-blend-mode utilities (#3920)
* Add mix-blend-mode utilities

* Rename mix-blend-mode utilities to `mix-blend-*`

Co-Authored-By: Peter Neupauer <peter@neupauer.sk>

* Add `background-blend-mode` utilities

Co-Authored-By: Peter Neupauer <peter@neupauer.sk>

Co-authored-by: Peter Neupauer <peter@neupauer.sk>
2021-05-07 13:56:13 -04:00
Adam Wathan
7a5c73878f Derive JIT display utilities from AOT display plugin 2021-05-07 13:56:13 -04:00
Adam Wathan
ab41845a78 Remove justify-auto and place-items-auto
These CSS values don't even exist.
2021-05-07 13:56:12 -04:00
Adam Wathan
9c454e1d4b Add isolation utilities (#3914) 2021-05-07 13:56:12 -04:00
Adam Wathan
77ca74bb88 Add box-decoration-break utilities (#3911) 2021-05-07 13:56:12 -04:00
Adam Wathan
0990b83755 Don't crash if failing to remove a touch file (race condition) 2021-05-07 13:56:12 -04:00
Adam Wathan
7afeeb7084 Fix style 2021-05-07 13:56:12 -04:00
Adam Wathan
f97456483c Unify test suites 2021-05-07 13:56:12 -04:00
Adam Wathan
d81edb739d Add PostCSS 7 support (maybe) 2021-05-07 13:56:11 -04:00
Adam Wathan
a2b9c42df2 Update tailwindcss references 2021-05-07 13:56:11 -04:00
Adam Wathan
b750c435a7 Copy JIT over, tests passing separately, not yet integrated 2021-05-07 13:56:11 -04:00