632 Commits

Author SHA1 Message Date
Adam Wathan
7dc0261bc6 Only wrap with variants if rules don't already contain any variants 2020-07-15 17:28:33 -04:00
Adam Wathan
3f6d31e3ae Add failing test 2020-07-15 17:09:58 -04:00
Adam Wathan
f16919e87b Generate responsive variants for container by default 2020-07-15 14:14:30 -04:00
Adam Wathan
b9327729b5 Add variants support to container plugin 2020-07-15 14:13:27 -04:00
Adam Wathan
54f07e2a9b Update tests to account for new layer at-rule 2020-07-15 10:44:17 -04:00
Adam Wathan
f25b0925a3 Update test
Still wrong but less wrong
2020-07-14 21:05:44 -04:00
Adam Wathan
68a0479c39 Revert test changes 2020-07-14 20:55:09 -04:00
Adam Wathan
4169bb1ac2 Simplify implementation, remove unnecessary new features 2020-07-14 20:53:18 -04:00
Adam Wathan
9959b1f691 Add first-class support for "responsive" components and bucket children 2020-07-14 14:32:14 -04:00
Adam Wathan
20e5695165
Merge pull request #1285 from GeoffSelby/add-checked-variant
Add `checked` variant
2020-07-08 12:27:09 -04:00
Adam Wathan
bb71e5786e Rebuild test fixtures 2020-06-28 14:23:54 -04:00
Austin Green
4187e6db70 Add :focus-visible variant 2020-05-26 11:10:03 -07:00
Adam Wathan
ad850ac491 Throw if contains a class 2020-05-08 13:23:26 -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
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
ddc6e1d191 test: add test for purge being explicitly disabled 2020-04-30 19:13:48 +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
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
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
3a53a8c858 Update fixtures 2020-04-29 16:13:37 -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
ec0b7a2be1 Integrate PurgeCSS directly into Tailwind 2020-04-27 21:24:49 -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
e262218b87 Update fixtures 2020-04-21 06:09:44 -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
bf045724cc Add responsive variants for space and divide utilities 2020-04-21 05:14:52 -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
06536597fb Update fixtures 2020-04-20 13:49:55 -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