Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 6450613

Browse files
fix(select): Fix dropdown arrow mixin setting an invalid color (#2637)
1 parent c05a6bd commit 6450613

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/mdc-select/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $mdc-select-label-padding: 16px;
2121

2222
$mdc-select-ink-color: rgba(mdc-theme-prop-value(on-surface), .87);
2323
$mdc-select-disabled-ink-color: rgba(mdc-theme-prop-value(on-surface), .37);
24+
$mdc-select-disabled-arrow-color: mdc-theme-prop-value(on-surface);
2425

2526
$mdc-select-label-color: rgba(mdc-theme-prop-value(on-surface), .6);
2627
$mdc-select-focused-label-color: rgba(mdc-theme-prop-value(primary), .87);

packages/mdc-select/mdc-select.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
}
134134

135135
.mdc-select--disabled {
136-
@include mdc-select-dd-arrow-svg-bg_($mdc-select-disabled-ink-color);
136+
@include mdc-select-dd-arrow-svg-bg_($mdc-select-disabled-arrow-color);
137137

138138
&.mdc-select--box {
139139
@include mdc-select-container-fill-color_($mdc-select-box-disabled-fill-color);

0 commit comments

Comments
 (0)