44 Commits

Author SHA1 Message Date
Adam Wathan
21d4b8c787 Apply new prettier defaults 2020-10-17 20:34:11 -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
11690b4c9b Update all core plugins to use the same class name generation strategy 2020-10-16 12:53:41 -04:00
Adam Wathan
e897e40189 Replace special handling of 'default' with 'DEFAULT' 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
Adam Wathan
19333add01 Set color opacity variable when colors are defined as functions (#2515)
* Always set color opacity variable, even if color cannot be parsed

* Only set color opacity when it might be used
2020-10-07 14:08:39 -04:00
Adam Wathan
a7e19ca131 Pass opacityValue to gradient colors for transparency support, do not pass opacityVariable since unused 2020-08-19 11:38:22 -04:00
Enzo Innocenzi
f6fc9630d5
test(gradientColorStops): ensure opacity variables are generated 2020-08-18 23:26:29 +02:00
Adam Wathan
a7c410656d Add test coverage for default letter-spacing feature 2020-08-06 15:42:52 -04:00
Adam Wathan
371a79feca Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
3b565d1f9c Add opacity modifiers for color utilities 2020-04-26 09:49:23 -04:00
Adam Wathan
5f05677edf Fix missing unit in calc bug in space plugin 2020-04-23 07:58:26 -04:00
Adam Wathan
b0c78726ac Fix bug where divide-x/y-0 didn't work due to missing unit in calc 2020-04-21 16:08:39 -04:00
Adam Wathan
5598a791b1 Fix bug in divide-x utilities, checking wrong custom property 2020-04-21 05:20:59 -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
8df2cd57a0 Merge branch 'stack-divide-utilities' 2020-04-20 14:18:12 -04:00
Adam Wathan
a14ea02ff0 Use border-width for divide, not border 2020-04-20 14:18:04 -04:00
Adam Wathan
1743c23821
Merge pull request #1594 from tailwindcss/stack-divide-utilities
Support reverse order for space and divide utilities
2020-04-20 13:55:00 -04:00
Adam Wathan
a75b6901aa Support reverse order for space and divide utilities 2020-04-20 13:34:00 -04:00
Adam Wathan
8b2473fade
Merge pull request #1584 from tailwindcss/stack-divide-utilities
Add `space` and `divide` utilities
2020-04-17 13:26:23 -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
a6f5137a73 Rename stack to space, make invokePlugin output consistent 2020-04-16 12:43:22 -04:00
Adam Wathan
3143f20850 Add divideColor utilities 2020-04-16 11:01:24 -04:00
Adam Wathan
b447cd6ccd Add divideWidth plugin 2020-04-16 10:53:19 -04:00
Adam Wathan
c84c397f0b Add stack-x and stack-y utilities 2020-04-16 10:45:05 -04:00
Adam Wathan
aa4fd1ae99 Add support for providing a default line-height for each font-size 2020-04-16 09:35:50 -04:00
Adam Wathan
7ce6b2c424 Move plugin helpers up one folder 2020-04-16 09:35:41 -04:00
Adam Wathan
921e2ff202 Add helper for testing utility plugins 2020-04-16 09:35:41 -04:00
Adam Wathan
83f88cc2d4 Remove unit test for strokeWidth plugin, covered by integration tests 2020-01-03 08:39:45 -05:00
Codeminer42
ba640fc79a Add stroke-width plugin 2019-08-22 16:55:23 -03:00
AlexVipond
e5c08f6af2 Revert default syntax support for zIndex and letterSpacing, update tests 2019-07-09 22:46:11 -06:00
AlexVipond
a249bc4433 Handle default keyword for negative prefix syntax. Write tests for negative prefix syntax 2019-06-28 10:11:47 -06: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
David Hemphill
12afd6e8a1 fix stroke utility generation 2019-04-02 15:55:19 -05:00
David Hemphill
6190fe52d4 Fix fill color utility generation 2019-04-02 15:23:40 -05:00
Adam Wathan
fc75cf9d45 Fix code style 2019-03-05 11:42:31 -05:00
Adam Wathan
da4984e0e1 Support default key in color objects 2019-03-05 11:36:31 -05:00
Adam Wathan
9b07984144 Support nested object for borderColor plugin 2019-03-04 13:10:34 -05: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