Extend variants from default config

This commit is contained in:
Oliver Davies 2019-03-12 09:09:06 +00:00
parent 94ab057051
commit 8c4b8e1c23

View file

@ -1,3 +1,4 @@
let defaultConfig = require('tailwindcss/defaultConfig')()
let defaultTheme = require('tailwindcss/defaultTheme')()
module.exports = {
@ -36,7 +37,7 @@ module.exports = {
require('tailwindcss-vuejs')(),
],
variants: {
borderStyle: ['responsive', 'hover', 'focus'],
borderWidths: ['responsive', 'hover', 'focus'],
borderStyle: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
borderWidth: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
},
}