Skip to content

Commit

Permalink
[v4] [core] fix(AnchorButton): disabled minimal color styling (#5137)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachkirsch authored Feb 24, 2022
1 parent 30ccbcf commit af87e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/src/blueprint.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ $tree-intent-icon-colors-modern: (
$active-color,
$active-text
) {
&:hover:not(:disabled) {
&:hover:not(:disabled):not(.#{$ns}-disabled) {
background: $hover-color;
color: $hover-text;
}

&:active:not(:disabled) {
&:active:not(:disabled):not(.#{$ns}-disabled) {
background: $active-color;
color: $active-text;
}
Expand Down Expand Up @@ -180,7 +180,7 @@ $tree-intent-icon-colors-modern: (

&.#{$ns}-minimal {
@mixin pt-button-minimal-intent-modern($active-text-color) {
&:active:not(:disabled) {
&:active:not(:disabled):not(.#{$ns}-disabled) {
color: $active-text-color;
}
}
Expand All @@ -194,7 +194,7 @@ $tree-intent-icon-colors-modern: (
}

.#{$ns}-dark & {
&:not([class*="#{$ns}-intent-"]):not(:disabled) {
&:not([class*="#{$ns}-intent-"]):not(:disabled):not(.#{$ns}-disabled) {
color: $white;
}

Expand Down

1 comment on commit af87e29

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[v4] [core] fix(AnchorButton): disabled minimal color styling (#5137)

Previews: documentation | landing | table | modern colors demo

Please sign in to comment.