Skip to content

Commit

Permalink
fix(core): apply correct color on disabled button
Browse files Browse the repository at this point in the history
the --color was not used, force color with the property

fixes: #35
  • Loading branch information
Sukaato committed Sep 24, 2024
1 parent 8f410ac commit cd17739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@
:host([disabled]) {
cursor: not-allowed;

> button:disabled {
button {
--background: #{get-color("neutral.base", 0.2)};
--color: #{get-color("base.content", 0.2)};
color: #{get-color("base.content", 0.2)};

pointer-events: none;
}
Expand Down

0 comments on commit cd17739

Please sign in to comment.