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

Commit dd52020

Browse files
Googlernshahan
authored andcommitted
Add a mixin for changing the color of the dropdown icon.
PiperOrigin-RevId: 243130706
1 parent e3636ae commit dd52020

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

angular_components/lib/material_select/_mixins.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
}
5959
}
6060

61+
/// Sets the color of the icon in the dropdown button.
62+
@mixin dropdown-icon-color($color) {
63+
::ng-deep .icon {
64+
color: $color;
65+
}
66+
}
67+
6168
/// Allow the button text to wrap instead of ellipsis.
6269
@mixin button-text-wrap {
6370
::ng-deep .button.border .button-text {

0 commit comments

Comments
 (0)