1052 Commits

Author SHA1 Message Date
Adam Wathan
ad850ac491 Throw if contains a class 2020-05-08 13:23:26 -04:00
Adam Wathan
f79b5c2675 Improve PurgeCSS warning 2020-05-06 08:48:55 -04:00
Adam Wathan
4e5be9c0d6 Fix bug where divideColor plugin was using wrong variants in IE11 mode 2020-05-06 08:40:50 -04:00
Adam Wathan
9d6e8bc8b3 Fix style 2020-05-05 07:47:57 -04:00
Dave Wasmer
93cddddaa0
Improve error message for missing variant 2020-05-04 22:26:55 -06:00
Adam Wathan
f5c0e301a5 Fix bug where browserslist target didn't work outside of tuple syntax 2020-05-01 15:30:39 -04: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
652100e2d5 Add corePlugins function to plugin API 2020-05-01 14:41:12 -04:00
Adam Wathan
ab52a8c082 Support purge: false, add more info to console warning 2020-05-01 08:25:45 -04:00
lihbr
9863723390 style: lint changes 2020-04-30 19:08:06 +02:00
lihbr
14113707df fix: purgeEnabled evaluating to true when config.purge.enabled is false 2020-04-30 18:43:56 +02:00
Adam Wathan
9032ff33ed Improve support for purging Haml even more 2020-04-30 08:40:42 -04:00
Adam Wathan
cdef9c8d4d Improve support for purging Haml templates 2020-04-30 08:33:05 -04:00
Adam Wathan
5b18ef475a Silence jest warnings about mutating require cache 2020-04-29 16:37:03 -04:00
Adam Wathan
afe8d3c2e8 Remove unused imports 2020-04-29 16:25:20 -04:00
Adam Wathan
a8e27d9728 Remove position sticky in ie11 mode 2020-04-29 16:25:20 -04:00
Adam Wathan
1117e28c5c Add support for browserslist as target 2020-04-29 16:25:20 -04:00
Adam Wathan
b4acd94390 Generate non-composable transforms in IE11 target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
371a79feca Support plugin-specific target mode 2020-04-29 16:25:20 -04:00
Adam Wathan
e5288ff8fe Remove target helper 2020-04-29 16:24:26 -04:00
Adam Wathan
1c353af37d Finish proof of concept for target: 'ie11' feature 2020-04-29 16:24:26 -04:00
Adam Wathan
2950ff339b Initial support for IE11 target 2020-04-29 16:24:26 -04:00
Adam Wathan
77d3f7590e Don't purge components, don't purge if paths empty, add empty purge to config stub 2020-04-29 16:14:08 -04:00
Adam Wathan
d351f125dd Fix bugs in divideOpacity and placeholderOpacity plugins 2020-04-29 14:01:39 -04:00
Adam Wathan
64b6c955c7 Improve PurgeCSS integration
- Add better Pug support
- Add "modes", with "all" and "conservative" by default
- Allow passing options through to PurgeCSS
- Rename `paths` to `content` to match PurgeCSS
2020-04-28 09:51:27 -04:00
Adam Wathan
b0ac3c50cb Support purging Pug templates a bit better 2020-04-27 22:18:21 -04:00
Adam Wathan
4c3e97c9d4 Make PurgeCSS regex compatible with node 8 2020-04-27 21:43:28 -04:00
Adam Wathan
ec0b7a2be1 Integrate PurgeCSS directly into Tailwind 2020-04-27 21:24:49 -04:00
Adam Wathan
f94e2c37f2 Fix import 2020-04-26 11:05:42 -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
3584791852
Merge pull request #1398 from OwenMelbz/master
Ability to have responsive .container padding
2020-04-17 13:04:36 -04:00
Adam Wathan
a69c9b9452
Merge pull request #1532 from tailwindcss/default-line-height-per-font-size
Add support for providing a default line-height for each font-size
2020-04-17 12:59:22 -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
ebd157f16e Add group-focus variant 2020-04-16 12:51:12 -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