Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button: Improve the aria-disabled focus style #62480

Merged
merged 9 commits into from
Aug 6, 2024
Prev Previous commit
Next Next commit
Use gray-500 for all disabled button variants.
  • Loading branch information
afercia authored and ciampo committed Jul 31, 2024
commit de838e0032dc6d7bcaa4871d48aff51697769401
6 changes: 3 additions & 3 deletions packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
&:disabled,
&[aria-disabled="true"],
&[aria-disabled="true"]:hover {
color: $gray-600;
color: $gray-500;
background: transparent;
transform: none;
}
Expand Down Expand Up @@ -212,7 +212,7 @@

&:disabled,
&[aria-disabled="true"] {
color: lighten($alert-red, 40%);
color: $gray-500;
}
}
}
Expand Down Expand Up @@ -244,7 +244,7 @@

&:disabled,
&[aria-disabled="true"] {
color: $gray-600;
color: $gray-500;
}
}

Expand Down