Commit graph

258 commits

Author SHA1 Message Date
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
f120967d95
Merge pull request #1824 from austin94/austin94/add-focus-visible-variant
Add :focus-visible variant
2020-06-27 14:21:08 -04: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
f79b5c2675 Improve PurgeCSS warning 2020-05-06 08:48:55 -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
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
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
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
ebd157f16e Add group-focus variant 2020-04-16 12:51:12 -04:00
Adam Wathan
08c69116ef Support import syntax even if not using postcss-import 2020-01-25 12:14:01 -05:00
Geoff Selby
c74ff9973f Add checked variant
This adds a `checked` variant per #1255 to allow styling of checked elements like checkboxes and radios. It is not enabled for anything by default.
2019-12-27 10:11:04 -06:00
Adam Wathan
6343d1ec7c Apply configured prefix to the .group class for group-hover variants 2019-11-25 11:47:00 -05:00
Adam Wathan
2b91157760 Don't watch files in node_modules 2019-10-22 09:50:26 -04:00
Adam Wathan
eb24d5067c Fix style 2019-10-12 12:53:32 -04:00
Serhii Pashchenko
8045d654d2 Fix ESLint error :* 2019-09-11 13:06:59 +03:00
Serhii Pashchenko
73f72d25e3 Fix unresolved modules in config watcher 2019-09-11 12:53:44 +03:00
Serhii Pashchenko
4a15678abb Make dependencies of config watchable 2019-08-11 12:32:46 +03:00
Adam Wathan
8331d9fb24 Support applying non-prefixed class when using important scope 2019-08-06 08:23:47 -04:00
Adam Wathan
19c74b106a Merge branch 'add-prefix-selector-support' of git://github.com/pxwee5/tailwindcss into pxwee5-add-prefix-selector-support 2019-08-06 07:56:34 -04:00
Adam Wathan
81b10be134 Fix conflicts 2019-07-20 11:22:09 -04:00
Adam Wathan
b11db0e06e
Merge pull request #1024 from tailwindcss/first-last-child-variants
Add first-child and last-child variants
2019-07-20 11:16:55 -04:00
Adam Wathan
78554a34d2 Rename first-child and last-child to first and last 2019-07-20 11:14:25 -04:00
Cody
d4aac290ac add odd and even nth child pseudo selectors 2019-07-14 00:10:08 -05:00
ecrmnn
66e75b89ab Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
Adam Wathan
893f5c049a Add first-child and last-child variants 2019-07-12 12:53:52 -04:00
James Wee
382075731d Added Prefix Selector support via important config 2019-07-11 17:07:24 +12:00
Adam Wathan
b1242a0810 Fix conflicts 2019-07-10 08:29:58 -04:00
Adam Wathan
5080129b71
Merge pull request #732 from GeoffSelby/add-disabled-variant
Add `disabled` variant
2019-07-10 08:27:23 -04:00
Adam Wathan
a80720a8c6 Remove unused import 2019-06-20 11:24:54 -04:00
Christopher Willard
1efc5d1d44 Add support for :visited state variant 2019-06-18 07:27:40 -04:00
Adam Wathan
eeb2947204 Properly handle pseudo-elements with group-hover variant 2019-06-13 07:52:37 -04:00
Adam Wathan
737f1ecde0 Append variant pseudo-selectors after classes instead of replacing entire selector 2019-06-12 09:15:06 -04:00
Adam Wathan
1d10f20b48 Error when someone tries to use 2019-06-01 15:51:02 -04:00