Rename fontWeights to fontWeight

This commit is contained in:
Adam Wathan 2019-02-14 15:25:35 -05:00
parent 856fdbc3dd
commit af65b45a4c
6 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ module.exports = {
flexbox: ['responsive'],
float: ['responsive'],
fontFamily: ['responsive'],
fontWeights: ['responsive', 'hover', 'focus'],
fontWeight: ['responsive', 'hover', 'focus'],
height: ['responsive'],
leading: ['responsive'],
lists: ['responsive'],

View File

@ -131,7 +131,7 @@ module.exports = function() {
'4xl': '2.25rem', // 36px
'5xl': '3rem', // 48px
},
fontWeights: {
fontWeight: {
hairline: 100,
thin: 200,
light: 300,

1
plugins/fontWeight.js Normal file
View File

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

View File

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

View File

@ -16,7 +16,7 @@ import display from './plugins/display'
import flexbox from './plugins/flexbox'
import float from './plugins/float'
import fontFamily from './plugins/fontFamily'
import fontWeights from './plugins/fontWeights'
import fontWeight from './plugins/fontWeight'
import height from './plugins/height'
import leading from './plugins/leading'
import margin from './plugins/margin'
@ -87,7 +87,7 @@ export default function(config) {
flexbox,
float,
fontFamily,
fontWeights,
fontWeight,
height,
leading,
margin,