Skip to content

Commit

Permalink
fix(tailwindcss): fix el-button background-color
Browse files Browse the repository at this point in the history
  • Loading branch information
YDKD committed Apr 12, 2022
1 parent c7347dc commit ee09c66
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@ module.exports = {
theme: {
extend: {}
},
plugins: []
plugins: [
function ({ addBase }) {
addBase({
'.el-button': {
'background-color': 'var(--el-button-bg-color, var(--el-color-white))'
}
})
}
]
}

0 comments on commit ee09c66

Please sign in to comment.