21 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
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
6180627d6c Fix lint errors 2020-10-16 12:53:41 -04:00
Adam Wathan
11690b4c9b Update all core plugins to use the same class name generation strategy 2020-10-16 12:53:41 -04:00
Adam Wathan
712fe7aeb8 Remove target feature 2020-10-15 15:21:06 -04:00
Adam Wathan
003d94bea1
Support closures for colors in all circumstances (#2536) 2020-10-09 21:03:23 -04:00
Irene Lin
797120c2bf Fix style violations 2020-05-07 00:28:45 +10:00
Irene Lin
aa5b548705 Create getProperties to dry utilities 2020-05-07 00:27:00 +10:00
Irene Lin
2f670a8699 Sync alignment in const utilities 2020-05-07 00:23:43 +10:00
Irene Lin
2ba2b72fc8 Reduce calls of flattenColorPalette 2020-05-07 00:22:07 +10:00
Adam Wathan
e6fd316347 Don't generate color opacity code in color plugins if not necessary 2020-05-01 15:07:40 -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
3b565d1f9c Add opacity modifiers for color utilities 2020-04-26 09:49:23 -04:00
Michaël De Boey
d4b2b8b755
Make theme config directly accessible in the plugins 2019-04-18 23:29:07 +02:00
Adam Wathan
f0bc35a896 Support configuring a single list of variants to apply to all relevant plugins 2019-04-18 09:42:21 -04:00
Adam Wathan
bfde7e4d6e Support nested object for textColor plugin 2019-03-04 13:09:35 -05:00
Adam Wathan
c3c9cdf5d6 Support nested object for backgroundColor plugin 2019-03-04 13:05:18 -05:00
Adam Wathan
6f1852adf2 Source backgroundColor options from config 2019-02-28 11:36:26 -05:00
Adam Wathan
376daf3345 Rename backgroundColors to backgroundColor 2019-02-14 15:20:07 -05:00