Rename leading plugin to lineHeight

This commit is contained in:
Adam Wathan 2019-02-19 15:49:33 -05:00
parent 3b41062972
commit ceb093e6a1
6 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ module.exports = {
fontFamily: ['responsive'],
fontWeight: ['responsive', 'hover', 'focus'],
height: ['responsive'],
leading: ['responsive'],
lineHeight: ['responsive'],
listStyle: ['responsive'],
margin: ['responsive'],
maxHeight: ['responsive'],

View File

@ -159,7 +159,7 @@ module.exports = function() {
extrabold: 800,
black: 900,
},
leading: {
lineHeight: {
none: 1,
tight: 1.25,
normal: 1.5,

View File

@ -1 +0,0 @@
module.exports = require('../lib/plugins/leading').default

1
plugins/lineHeight.js Normal file
View File

@ -0,0 +1 @@
module.exports = require('../lib/plugins/lineHeight').default

View File

@ -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,