Skip to content

Commit 52ef0b3

Browse files
committed
fonts
1 parent b67d4f1 commit 52ef0b3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/source/docs/fonts.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 font utilities.
39+
40+
You can control which variants are generated for the font utilities by modifying the `fonts` 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+
fonts: ['responsive', 'hover', 'focus'],
50+
}
51+
}
52+
```
53+
54+
### Disabling
55+
56+
If you aren't using the font utilities in your project, you can disable them entirely by setting the `fonts` property to `false` in the `modules` section of your config file:
57+
58+
```js
59+
{
60+
// ...
61+
modules: {
62+
// ...
63+
fonts: false,
64+
}
65+
}
66+
```

0 commit comments

Comments
 (0)