|
35 | 35 | // MDC has a token for the enabled placeholder, but not for the disabled one.
|
36 | 36 | form-field-disabled-input-text-placeholder-color:
|
37 | 37 | inspection.get-theme-color($theme, foreground, base, 0.38),
|
38 |
| - form-field-state-layer-color: inspection.get-theme-color($theme, foreground, base, 0.87), |
| 38 | + form-field-state-layer-color: inspection.get-theme-color($theme, system, on-surface), |
39 | 39 | form-field-error-text-color: inspection.get-theme-color($theme, warn),
|
40 | 40 |
|
41 | 41 | // On dark themes we set the native `select` color to some shade of white,
|
|
76 | 76 | form-field-filled-disabled-label-text-color:
|
77 | 77 | inspection.get-theme-color($theme, foreground, base, 0.38),
|
78 | 78 | form-field-filled-input-text-color:
|
79 |
| - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 79 | + inspection.get-theme-color($theme, system, on-surface), |
80 | 80 | form-field-filled-disabled-input-text-color:
|
81 | 81 | inspection.get-theme-color($theme, foreground, base, 0.38),
|
82 | 82 | form-field-filled-input-text-placeholder-color:
|
|
90 | 90 | form-field-filled-disabled-active-indicator-color:
|
91 | 91 | inspection.get-theme-color($theme, foreground, base, 0.06),
|
92 | 92 | form-field-filled-hover-active-indicator-color:
|
93 |
| - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 93 | + inspection.get-theme-color($theme, system, on-surface), |
94 | 94 | form-field-filled-error-active-indicator-color: $warn-color,
|
95 | 95 | form-field-filled-error-focus-active-indicator-color: $warn-color,
|
96 | 96 | form-field-filled-error-hover-active-indicator-color: $warn-color,
|
|
101 | 101 | form-field-outlined-disabled-label-text-color:
|
102 | 102 | inspection.get-theme-color($theme, foreground, base, 0.38),
|
103 | 103 | form-field-outlined-input-text-color:
|
104 |
| - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 104 | + inspection.get-theme-color($theme, system, on-surface), |
105 | 105 | form-field-outlined-disabled-input-text-color:
|
106 | 106 | inspection.get-theme-color($theme, foreground, base, 0.38),
|
107 | 107 | form-field-outlined-input-text-placeholder-color:
|
|
114 | 114 | form-field-outlined-disabled-outline-color:
|
115 | 115 | inspection.get-theme-color($theme, foreground, base, 0.06),
|
116 | 116 | form-field-outlined-hover-outline-color:
|
117 |
| - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 117 | + inspection.get-theme-color($theme, system, on-surface), |
118 | 118 | form-field-outlined-error-focus-outline-color: $warn-color,
|
119 | 119 | form-field-outlined-error-hover-outline-color: $warn-color,
|
120 | 120 | form-field-outlined-error-outline-color: $warn-color,
|
|
0 commit comments