Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit bc3eafa

Browse files
TedSandernshahan
authored andcommitted
Final CL to remove the hover-color variables from the button color mixins.
PiperOrigin-RevId: 214217293
1 parent db3b7c2 commit bc3eafa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

angular_components/lib/material_button/_mixins.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ $button-disabled-background-dark: rgba(255, 255, 255, $mat-divider-opacity);
246246
// The color given is not applied to disabled button, as it could otherwise look
247247
// as an enabled button.
248248
//
249-
// TODO(google): Remove $hover-color argument since it is no longer used.
250-
@mixin button-color($selector, $color, $hover-color: $color) {
249+
@mixin button-color($selector, $color) {
251250
::ng-deep #{$selector}:not([disabled]):not([icon]) {
252251
color: $color;
253252
}
@@ -266,8 +265,7 @@ $button-disabled-background-dark: rgba(255, 255, 255, $mat-divider-opacity);
266265
}
267266
}
268267

269-
// TODO(google): Remove $hover-color argument since it is no longer used.
270-
@mixin icon-button-color($selector, $color, $hover-color: $color) {
268+
@mixin icon-button-color($selector, $color) {
271269
::ng-deep #{$selector}[icon]:not([disabled]) {
272270
// Set the color here to be found by the ripple
273271
color: $color;

0 commit comments

Comments
 (0)