mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Rename leading plugin to lineHeight
This commit is contained in:
parent
3b41062972
commit
ceb093e6a1
@ -24,7 +24,7 @@ module.exports = {
|
||||
fontFamily: ['responsive'],
|
||||
fontWeight: ['responsive', 'hover', 'focus'],
|
||||
height: ['responsive'],
|
||||
leading: ['responsive'],
|
||||
lineHeight: ['responsive'],
|
||||
listStyle: ['responsive'],
|
||||
margin: ['responsive'],
|
||||
maxHeight: ['responsive'],
|
||||
|
||||
@ -159,7 +159,7 @@ module.exports = function() {
|
||||
extrabold: 800,
|
||||
black: 900,
|
||||
},
|
||||
leading: {
|
||||
lineHeight: {
|
||||
none: 1,
|
||||
tight: 1.25,
|
||||
normal: 1.5,
|
||||
|
||||
@ -1 +0,0 @@
|
||||
module.exports = require('../lib/plugins/leading').default
|
||||
1
plugins/lineHeight.js
Normal file
1
plugins/lineHeight.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('../lib/plugins/lineHeight').default
|
||||
@ -18,7 +18,7 @@ import float from './plugins/float'
|
||||
import fontFamily from './plugins/fontFamily'
|
||||
import fontWeight from './plugins/fontWeight'
|
||||
import height from './plugins/height'
|
||||
import leading from './plugins/leading'
|
||||
import lineHeight from './plugins/lineHeight'
|
||||
import margin from './plugins/margin'
|
||||
import maxHeight from './plugins/maxHeight'
|
||||
import maxWidth from './plugins/maxWidth'
|
||||
@ -92,7 +92,7 @@ export default function(config) {
|
||||
fontFamily,
|
||||
fontWeight,
|
||||
height,
|
||||
leading,
|
||||
lineHeight,
|
||||
margin,
|
||||
maxHeight,
|
||||
maxWidth,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user