diff --git a/docs/source/docs/line-height.blade.md b/docs/source/docs/line-height.blade.md index 2f31a286d..e6e2acf89 100644 --- a/docs/source/docs/line-height.blade.md +++ b/docs/source/docs/line-height.blade.md @@ -35,3 +35,37 @@ features: ], ] ]) + +## Customizing + +### Responsive, Hover, and Focus Variants + +By default, no hover, focus, or group-hover variants are generated for leading utilities. + +You can control which variants are generated for the leading utilities by modifying the `leading` property in the `modules` section of your Tailwind config file. + +For example, this config will _also_ generate hover and focus variants: + +```js +{ + // ... + modules: { + // ... + leading: ['responsive', 'hover', 'focus'], + } +} +``` + +### Disabling + +If you aren't using the leading utilities in your project, you can disable them entirely by setting the `leading` property to `false` in the `modules` section of your config file: + +```js +{ + // ... + modules: { + // ... + leading: false, + } +} +```