Commit graph

12 commits

Author SHA1 Message Date
Adam Wathan
5fa665835f Fix formatting issues 2021-05-20 13:43:17 -04:00
Adam Wathan
522787ac41 Revert fix lint errors?! 2021-05-11 14:25:34 -04:00
Adam Wathan
9fc13a6564 Fix lint errors 2021-05-11 13:55:02 -04:00
Adam Wathan
bd84d2f4c2
Ensure variants are grouped properly for plugins with order-dependent utilities (#4273) 2021-05-07 13:34:16 -04:00
Adam Wathan
1a1fc1c5c6 Refactor fontVariantNumeric to remove mode condition 2021-04-30 12:04:23 -04:00
Robin Malfait
bfc61625d9
[WIP] Unify JIT and AOT code paths (#4188)
* WIP

* WIP

* Finish combining JIT and AOT plugins

Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now.

* Remove unused import

* Fix AOT generation bugs

* Move corePlugins/index.js to corePlugins.js

* Convert JIT files to ESM

* Move tests

* Reorder core plugins to match JIT order

* Update AOT apply tests

* Unify utils

* Combine plugin lists to one single source of truth

* Finish resolving merge conflicts, fix tests

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-04-30 10:58:40 -04:00
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
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
f3660ceed3 Do atrocious things to sneak past minifiers for font-variant-numeric utilities 2020-09-05 17:36:12 -04:00
Robin Malfait
88174ff524
fix(font-variant-numeric): drop extra s (#2318)
* drop extra s

* update changelog
2020-09-04 23:53:30 +02:00
Adam Wathan
b3270a5b31
Add fontVariantNumeric utilities (#2305)
* Add fontVariantNumeric utilities

* Don't generate fontVariantNumeric utilities in IE11 target mode
2020-09-03 15:04:29 -04:00