Skip to content

Commit

Permalink
[#95] Fixing button outline border bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-schmidt-viget committed May 30, 2024
1 parent 9107b7d commit 2288d30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/wp-starter/plugins-tailwind/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = plugin.withOptions(function (options = {}) {
'.btn-outlined': {
...base,
[`@apply
border border-${accentColor}-900 bg-transparent text-${accentColor}-900
border border-current bg-transparent text-${accentColor}-900
hover:bg-${accentColor}-100 hover:border-${accentColor}-700 hover:text-${accentColor}-700
active:bg-${accentColor}-200/80 active:text-${accentColor}-800
focus-visible:bg-${accentColor}-100 focus-visible:border-${accentColor}-700 focus-visible:ring-${accentColor}-600/50`]: {},
Expand All @@ -55,7 +55,7 @@ module.exports = plugin.withOptions(function (options = {}) {
'.btn-outlined-light': {
...base,
[`@apply
border-white text-white
border-current text-white bg-transparent
hover:bg-white/25
active:bg-white/30
focus-visible:bg-${accentColor}-100/30 focus-visible:ring-white/50`]: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ export default {
width: false,
},
color: {
text: false,
background: false,
customDuotone: false,
customGradient: false,
defaultDuotone: false,
defaultGradients: false,
duotone: [],
gradients: [],
palette: [],
},
typography: {
fontSizes: [],
Expand Down
Loading

0 comments on commit 2288d30

Please sign in to comment.