Skip to content

Commit e244553

Browse files
committed
lists
1 parent 8300cee commit e244553

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/lists.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,37 @@ features:
2020
],
2121
]
2222
])
23+
24+
## Customizing
25+
26+
### Responsive, Hover, and Focus Variants
27+
28+
By default, no hover, focus, or group-hover variants are generated for list utilities.
29+
30+
You can control which variants are generated for the list utilities by modifying the `lists` property in the `modules` section of your Tailwind config file.
31+
32+
For example, this config will _also_ generate hover and focus variants:
33+
34+
```js
35+
{
36+
// ...
37+
modules: {
38+
// ...
39+
lists: ['responsive', 'hover', 'focus'],
40+
}
41+
}
42+
```
43+
44+
### Disabling
45+
46+
If you aren't using the list utilities in your project, you can disable them entirely by setting the `lists` property to `false` in the `modules` section of your config file:
47+
48+
```js
49+
{
50+
// ...
51+
modules: {
52+
// ...
53+
lists: false,
54+
}
55+
}
56+
```

0 commit comments

Comments
 (0)