We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a46c0 commit 7905911Copy full SHA for 7905911
src/pages/docs/font-size.mdx
@@ -148,6 +148,21 @@ module.exports = {
148
}
149
```
150
151
+You can also specify a default line-height using object syntax:
152
+
153
+```js
154
+// tailwind.config.js
155
+module.exports = {
156
+ theme: {
157
+ fontSize: {
158
+ sm: ['14px', {
159
+ lineHeight: '20px',
160
+ }],
161
+ }
162
163
+}
164
+```
165
166
We already provide default line heights for each `.text-{size}` class.
167
168
### Providing a default letter-spacing
0 commit comments