Skip to content

Commit ed3ffe0

Browse files
authored
fix(input): disabled inputs should be grayed out (#2513)
1 parent af1e361 commit ed3ffe0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/input/_input-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
}
3838
}
3939

40+
.md-input-element:disabled {
41+
color: md-color($foreground, disabled-text);
42+
}
43+
4044
// See md-input-placeholder-floating mixin in input.scss
4145
input.md-input-element:-webkit-autofill + .md-input-placeholder,
4246
.md-input-placeholder.md-float.md-focused {

0 commit comments

Comments
 (0)