Use lodash for font weights

This commit is contained in:
Oliver Davies 2019-02-01 22:25:20 +00:00
parent 26fe930df8
commit 29864ee73c

View file

@ -1,3 +1,5 @@
const _ = require('lodash')
let defaultConfig = require('tailwindcss/defaultConfig')() let defaultConfig = require('tailwindcss/defaultConfig')()
var colors = { var colors = {
@ -36,11 +38,7 @@ const config = {
'monospace', 'monospace',
] ]
}, },
fontWeights: { fontWeights: _.pick(defaultConfig.fontWeights, ['normal', 'medium', 'bold']),
'normal': 400,
'medium': 500,
'bold': 700,
},
borderWidths: { borderWidths: {
...defaultConfig.borderWidths, ...defaultConfig.borderWidths,
'3': '3px', '3': '3px',