Skip to content

Commit 0d598d1

Browse files
committed
tracking (letter-spacing)
1 parent 8f1c253 commit 0d598d1

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/letter-spacing.blade.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,37 @@ features:
3030
],
3131
]
3232
])
33+
34+
## Customizing
35+
36+
### Responsive, Hover, and Focus Variants
37+
38+
By default, no hover, focus, or group-hover variants are generated for tracking utilities.
39+
40+
You can control which variants are generated for the tracking utilities by modifying the `tracking` property in the `modules` section of your Tailwind config file.
41+
42+
For example, this config will _also_ generate hover and focus variants:
43+
44+
```js
45+
{
46+
// ...
47+
modules: {
48+
// ...
49+
tracking: ['responsive', 'hover', 'focus'],
50+
}
51+
}
52+
```
53+
54+
### Disabling
55+
56+
If you aren't using the tracking utilities in your project, you can disable them entirely by setting the `tracking` property to `false` in the `modules` section of your config file:
57+
58+
```js
59+
{
60+
// ...
61+
modules: {
62+
// ...
63+
tracking: false,
64+
}
65+
}
66+
```

0 commit comments

Comments
 (0)