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')()
var colors = {
@ -36,11 +38,7 @@ const config = {
'monospace',
]
},
fontWeights: {
'normal': 400,
'medium': 500,
'bold': 700,
},
fontWeights: _.pick(defaultConfig.fontWeights, ['normal', 'medium', 'bold']),
borderWidths: {
...defaultConfig.borderWidths,
'3': '3px',