Skip to content

Commit fa78f72

Browse files
jimitndiayekara
authored andcommitted
fix(theming): set input default color to currentColor in input theme (#1260) (#1262)
1 parent e901f42 commit fa78f72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/input/input.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ md-input {
6262
// The Material input should match whatever background it is above.
6363
background: transparent;
6464

65+
// If background matches current background then so should the color for proper contrast
66+
color: currentColor;
67+
6568
// By default, <input> has a padding, border, outline and a default width.
6669
border: none;
6770
outline: none;

0 commit comments

Comments
 (0)