11 Commits

Author SHA1 Message Date
Robin Malfait
b86bdbcd7e
Cleanup custom properties (#2771)
* prefix custom properties with tw-

* prefix custom properties with tw- in tests

* prefix gradient values in the defaultConfig

* inline gradient-via-color

* simplify --tw-tailwind-empty to --tw-empty

* replace the long --tw-font-variant-numeric-... to the way shorter --tw-fvn-...

* Rename --tw-box-shadow to --tw-shadow

To match class name.

* Rename font-variant-numeric variables

* Remove 'transform' from transform variables

* Shorten gradient variables

* Fix style

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-11-16 11:45:55 -05:00
Slava Nossar
d38c358945
Use translate3d() (#1380)
* use translate3d

* add translate3d to test fixtures

* create `transform-gpu` utility

* merge in test from master

* update tests

* add responsive variants to tests
2020-10-18 07:31:23 -04:00
Adam Wathan
e3ed12782f Update prettier 2020-10-16 13:30:06 -04:00
Adam Wathan
712fe7aeb8 Remove target feature 2020-10-15 15:21:06 -04:00
Adam Wathan
371a79feca Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
2950ff339b Initial support for IE11 target 2020-04-29 16:24:26 -04:00
Adam Wathan
a33c1a68e1 Update transform order to scale, skew, rotate, translate 2020-01-03 08:38:29 -05:00
Benoît Rouleau
12cd6e600d Add skew plugin + change order of transform functions (apply translate last) 2020-01-02 17:26:38 -05:00
Adam Wathan
b630d965f6 Support scaling x and y dimensions independently 2019-12-25 13:54:10 -05:00
Adam Wathan
9b78a02ccf Reset default transform variables every time .transform is applied 2019-12-25 13:54:10 -05:00
Adam Wathan
5335df2b2c Add first pass of transform utilities 2019-12-25 13:54:09 -05:00