Skip to content

Commit

Permalink
fix(frontend): fix icon button color (#92)
Browse files Browse the repository at this point in the history
* fix(frontend): fix icon button color

* remove plop file
  • Loading branch information
lionelB committed Aug 28, 2020
1 parent cce5299 commit ad40809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions targets/frontend/src/components/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ export function IconButton({ variant = "primary", size = "large", ...props }) {
...defaultButtonStyles,
"&:hover:not([disabled])": {
bg: (theme) => theme.buttons.icon.bgHover,
color: (theme) => theme.buttons[variant].color,
color: (theme) => theme.buttons[variant].bg,
},
"&[disabled]": {
bg: "neutral",
color: "text",
},
border: "none",
borderRadius: 32,
color: (theme) => theme.buttons[variant].color,
color: (theme) => theme.buttons[variant].bg,
fontSize: size,
lineHeight: 1,
overflow: "hidden",
Expand All @@ -145,7 +145,7 @@ export function MenuButton({ variant = "primary", size = "large", children }) {
...defaultButtonStyles,
"&:hover:not([disabled])": {
bg: (theme) => theme.buttons.icon.bgHover,
color: (theme) => theme.buttons[variant].color,
color: (theme) => theme.buttons[variant].bg,
},
"&[disabled]": {
bg: "neutral",
Expand Down

0 comments on commit ad40809

Please sign in to comment.