Skip to content

Commit

Permalink
♿ - style: fix contrast issue
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Aug 23, 2024
1 parent 32684e8 commit 32ca4c8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@
white-space: nowrap;
width: var(--mykn-button-width);

&:disabled,
&--disabled,
&--muted {
&#{&}:disabled,
&#{&}--disabled,
&#{&}--muted {
--mykn-button-offset: 0 !important;
opacity: 0.4;
--mykn-button-color-text: var(--typography-color-muted);
}

&:disabled,
&--disabled {
pointer-events: none;
opacity: 0.4;
}

&--align-start {
Expand Down

0 comments on commit 32ca4c8

Please sign in to comment.