1077 Commits

Author SHA1 Message Date
Adam Wathan
5dcb9f9035 Add reduce-motion variant 2020-07-24 15:26:55 -04:00
Adam Wathan
ab12ab9636 Ensure Tailwind PostCSS plugins receive unaltered plugin output 2020-07-21 10:21:57 -04:00
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
b9327729b5 Add variants support to container plugin 2020-07-15 14:13:27 -04:00
Adam Wathan
3edd89bd76 Handle explicit @tailwind screens properly 2020-07-15 09:41:47 -04:00
Adam Wathan
5b19a41195 Convert layers to control comments before processing @apply rules 2020-07-15 09:41:19 -04:00
Adam Wathan
b69e46cc1b Rename buckets to layers, handle copying layer information to responsive variants 2020-07-15 09:25:22 -04:00
Adam Wathan
c184e5b7b3 Don't remove comments that are never added 2020-07-14 20:57:04 -04:00
Adam Wathan
bc6b17250d Don't convert @tailwind screens to @screens utilities 2020-07-14 20:56:11 -04:00
Adam Wathan
4169bb1ac2 Simplify implementation, remove unnecessary new features 2020-07-14 20:53:18 -04:00
Adam Wathan
fc1d4c4cb1 Intermingle component and utility screens 2020-07-14 16:41:41 -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
2d297ee417 Merge branch 'patch-2' of git://github.com/MartijnCuppens/tailwindcss into MartijnCuppens-patch-2 2020-06-28 14:21:51 -04:00
Adam Wathan
f120967d95
Merge pull request #1824 from austin94/austin94/add-focus-visible-variant
Add :focus-visible variant
2020-06-27 14:21:08 -04:00
Adam Wathan
74ed4c2948
Merge pull request #1722 from playpool513/refactor-color-functions
Refactor color functions
2020-06-27 14:16:59 -04:00
Martijn Cuppens
26d324e860
Remove duplicate padding: 0 from buttons 2020-05-31 19:01:41 +02:00
Austin Green
4187e6db70 Add :focus-visible variant 2020-05-26 11:10:03 -07:00
frederikhors
822689f38b
Unnecessary escape character
Unnecessary escape character: [. (eslint: no-useless-escape)
2020-05-24 16:47:23 +02:00
Adam Wathan
ad850ac491 Throw if contains a class 2020-05-08 13:23:26 -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
a657a86b2d Sync alignment in calls of withAlphaVariable 2020-05-07 00:24:30 +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
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