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

Commit bee534c

Browse files
Googlernshahan
authored andcommitted
Add mixin for the stepper name.
We need to adjust the colors because currently the selectable non active steps are identical to the non selectable steps. PiperOrigin-RevId: 208503114
1 parent 91691e4 commit bee534c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/material_stepper/_mixins.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,21 @@
4848
@content;
4949
}
5050
}
51+
52+
/// Changes the disabled stepper name color in the stepper.
53+
@mixin material-stepper-step-name-disabled-color($color: $mat-grey-500) {
54+
::ng-deep {
55+
.stepper-step[active = false] .stepper-step-name {
56+
color: $color;
57+
}
58+
}
59+
}
60+
61+
/// Changes the selectable stepper name color in the stepper.
62+
@mixin material-stepper-step-name-selectable-color($color: $mat-grey-500) {
63+
::ng-deep {
64+
.stepper-step[selectable = true] .stepper-step-name {
65+
color: $color;
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)