Extend variants from default config
This commit is contained in:
parent
94ab057051
commit
8c4b8e1c23
|
@ -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'],
|
||||
},
|
||||
}
|
||||
|
|
Reference in a new issue