Use lodash for font weights
This commit is contained in:
parent
26fe930df8
commit
29864ee73c
|
@ -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',
|
||||
|
|
Reference in a new issue