Skip to content

Commit

Permalink
fix(Button): fix disabled raised view style (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
amje committed Feb 6, 2024
1 parent fbf41d3 commit fb62985
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ $block: '.#{variables.$ns}button';
}

&_raised {
--_--background-color: var(--g-color-base-float);
--_--background-color-hover: var(--g-color-base-float-hover);

background: var(--g-color-base-float);

&::before {
box-shadow: 0 3px 5px var(--g-color-sfx-shadow);
}
Expand Down Expand Up @@ -254,7 +255,7 @@ $block: '.#{variables.$ns}button';

@include mixins.pin(
$block,
('::before', '::after'),
(&, '::before', '::after'),
var(--g-button-border-radius, var(--_--border-radius))
);

Expand Down

0 comments on commit fb62985

Please sign in to comment.