Skip to content

Commit

Permalink
ToggleGroupControl: fix unselected icon
Browse files Browse the repository at this point in the history
color
  • Loading branch information
ciampo committed Sep 29, 2022
1 parent 83572f2 commit e79f8a5
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ export const buttonView = css`
}
`;

export const buttonActive = css`
color: ${ COLORS.white };
&:active {
background: transparent;
}
`;

export const ButtonContentView = styled.div`
font-size: ${ CONFIG.fontSize };
line-height: 1;
Expand All @@ -82,8 +75,17 @@ export const isIcon = ( {
};

return css`
color: ${ COLORS.gray[ 900 ] };
width: ${ iconButtonSizes[ size ] };
padding-left: 0;
padding-right: 0;
`;
};

export const buttonActive = css`
color: ${ COLORS.white };
&:active {
background: transparent;
}
`;

0 comments on commit e79f8a5

Please sign in to comment.