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')()
|
let defaultTheme = require('tailwindcss/defaultTheme')()
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -36,7 +37,7 @@ module.exports = {
|
||||||
require('tailwindcss-vuejs')(),
|
require('tailwindcss-vuejs')(),
|
||||||
],
|
],
|
||||||
variants: {
|
variants: {
|
||||||
borderStyle: ['responsive', 'hover', 'focus'],
|
borderStyle: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
|
||||||
borderWidths: ['responsive', 'hover', 'focus'],
|
borderWidth: [...defaultConfig.variants.borderStyle, 'hover', 'focus'],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue