Skip to content

Commit

Permalink
fix(button-icon): apply default background
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Aug 8, 2023
1 parent 340f100 commit 36767f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/components/button-icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const defaultButtonIconConfig = {
full: 'full',
},
default: {
bg: 'white',
bgDark: 'muted-700',
bgHover: 'muted-50',
bgHoverDark: 'muted-600',
text: 'muted-700',
Expand Down Expand Up @@ -109,7 +111,7 @@ export default plugin.withOptions(
},

[`&.${prefix}-button-default`]: {
[`@apply text-${config.default.text} dark:text-${config.default.textDark} dark:hover:bg-${config.default.bgHoverDark} hover:bg-${config.default.bgHover} border border-${config.default.border} dark:border-${config.default.borderDark}`]:
[`@apply text-${config.default.text} bg-${config.default.bg} dark:bg-${config.default.bgDark} dark:text-${config.default.textDark} dark:hover:bg-${config.default.bgHoverDark} hover:bg-${config.default.bgHover} border border-${config.default.border} dark:border-${config.default.borderDark}`]:
{},
},
[`&.${prefix}-button-muted`]: {
Expand Down

0 comments on commit 36767f1

Please sign in to comment.