18 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
02cba631bc
Use left/right instead of inline-start/end for space/divide utilities (#2644) 2020-10-21 17:05:20 -04:00
Adam Wathan
6e20880987 Use [hidden] instead of template in space/divide utilities 2020-10-21 16:01:49 -04:00
Twentylives
23100317f4
Using CSS Logical Properties in space and divide layout utilities (#1883)
* CSS Logical Properties in Space Between utilities

Switching to logical properties to fix compatibilty issues with non LTR layouts.

* CSS Logical Properties in Divide Width utilities
Switching to logical properties to fix compatibilty issues with non LTR layouts.
2020-10-17 19:34:19 -04: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
371a79feca Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
1c353af37d Finish proof of concept for target: 'ie11' feature 2020-04-29 16:24:26 -04:00
Adam Wathan
5f05677edf Fix missing unit in calc bug in space plugin 2020-04-23 07:58:26 -04:00
Adam Wathan
1d323c9636 Fix bug in space-x utilities, checking wrong custom property 2020-04-20 21:12:30 -04:00
Adam Wathan
b3b06e8d55 Add negative space utility support 2020-04-20 14:54:31 -04:00
Adam Wathan
a75b6901aa Support reverse order for space and divide utilities 2020-04-20 13:34:00 -04:00
Adam Wathan
0f54a60d05 Switch from :not(:last-child) to :not(template) ~ :not(template) 2020-04-17 09:49:16 -04:00
Adam Wathan
b7e0f11d5d Switch to not(last-child) instead of owl
For Alpine.js compatibility, sad because it increases the specificity but I don't think it will actually be a problem at all in real projects.
2020-04-16 16:05:20 -04:00
Adam Wathan
a6f5137a73 Rename stack to space, make invokePlugin output consistent 2020-04-16 12:43:22 -04:00