Merge pull request #669 from tailwindcss/leading-tracking-plugin-rename
Rename the leading and tracking plugins to lineHeight and letterSpacing
This commit is contained in:
commit
ab061308bc
9 changed files with 10 additions and 10 deletions
|
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
fontFamily: ['responsive'],
|
||||
fontWeight: ['responsive', 'hover', 'focus'],
|
||||
height: ['responsive'],
|
||||
leading: ['responsive'],
|
||||
lineHeight: ['responsive'],
|
||||
listStyle: ['responsive'],
|
||||
margin: ['responsive'],
|
||||
maxHeight: ['responsive'],
|
||||
|
|
@ -52,7 +52,7 @@ module.exports = {
|
|||
textTransform: ['responsive', 'hover', 'focus'],
|
||||
textDecoration: ['responsive', 'hover', 'focus'],
|
||||
fontSmoothing: ['responsive', 'hover', 'focus'],
|
||||
tracking: ['responsive'],
|
||||
letterSpacing: ['responsive'],
|
||||
userSelect: ['responsive'],
|
||||
verticalAlign: ['responsive'],
|
||||
visibility: ['responsive'],
|
||||
|
|
|
|||
|
|
@ -159,13 +159,13 @@ module.exports = function() {
|
|||
extrabold: 800,
|
||||
black: 900,
|
||||
},
|
||||
leading: {
|
||||
lineHeight: {
|
||||
none: 1,
|
||||
tight: 1.25,
|
||||
normal: 1.5,
|
||||
loose: 2,
|
||||
},
|
||||
tracking: {
|
||||
letterSpacing: {
|
||||
tight: '-0.05em',
|
||||
normal: '0',
|
||||
wide: '0.05em',
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
module.exports = require('../lib/plugins/leading').default
|
||||
1
plugins/letterSpacing.js
Normal file
1
plugins/letterSpacing.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('../lib/plugins/letterSpacing').default
|
||||
1
plugins/lineHeight.js
Normal file
1
plugins/lineHeight.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('../lib/plugins/lineHeight').default
|
||||
|
|
@ -1 +0,0 @@
|
|||
module.exports = require('../lib/plugins/tracking').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'
|
||||
|
|
@ -45,7 +45,7 @@ import fontStyle from './plugins/fontStyle'
|
|||
import textTransform from './plugins/textTransform'
|
||||
import textDecoration from './plugins/textDecoration'
|
||||
import fontSmoothing from './plugins/fontSmoothing'
|
||||
import tracking from './plugins/tracking'
|
||||
import letterSpacing from './plugins/letterSpacing'
|
||||
import userSelect from './plugins/userSelect'
|
||||
import verticalAlign from './plugins/verticalAlign'
|
||||
import visibility from './plugins/visibility'
|
||||
|
|
@ -92,7 +92,7 @@ export default function(config) {
|
|||
fontFamily,
|
||||
fontWeight,
|
||||
height,
|
||||
leading,
|
||||
lineHeight,
|
||||
margin,
|
||||
maxHeight,
|
||||
maxWidth,
|
||||
|
|
@ -119,7 +119,7 @@ export default function(config) {
|
|||
textTransform,
|
||||
textDecoration,
|
||||
fontSmoothing,
|
||||
tracking,
|
||||
letterSpacing,
|
||||
userSelect,
|
||||
verticalAlign,
|
||||
visibility,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue