Skip to content

Commit

Permalink
fix(icon-button): use fill instead of color for icon button display
Browse files Browse the repository at this point in the history
  • Loading branch information
er-lim committed Nov 14, 2024
1 parent d27ca27 commit ee26815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/styles/_pix-icon-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
border-radius: 50%;
outline: none;
cursor: pointer;
fill: var(--pix-neutral-800);
color: var(--pix-neutral-800);

&__icon {
width: 1.35rem;
Expand All @@ -37,13 +37,13 @@
background-color: var(--pix-neutral-800);
outline: 1px solid var(--pix-neutral-0);
outline-offset: -3px;
fill: var(--pix-neutral-0);
color: var(--pix-neutral-0);
}

&:active:enabled {
background-color: var(--pix-neutral-100);
outline: 0;
fill: var(--pix-neutral-800);
color: var(--pix-neutral-800);
}

&--background {
Expand Down

0 comments on commit ee26815

Please sign in to comment.