|
36 | 36 | // MDC has a token for the enabled placeholder, but not for the disabled one. |
37 | 37 | form-field-disabled-input-text-placeholder-color: |
38 | 38 | inspection.get-theme-color($theme, foreground, base, 0.38), |
39 | | - form-field-state-layer-color: inspection.get-theme-color($theme, foreground, base, 0.87), |
| 39 | + form-field-state-layer-color: inspection.get-theme-color($theme, system, on-surface), |
40 | 40 | form-field-error-text-color: inspection.get-theme-color($theme, warn), |
41 | 41 |
|
42 | 42 | // On dark themes we set the native `select` color to some shade of white, |
|
75 | 75 | inspection.get-theme-color($theme, foreground, base, 0.6), |
76 | 76 | form-field-filled-disabled-label-text-color: $disabled, |
77 | 77 | form-field-filled-input-text-color: |
78 | | - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 78 | + inspection.get-theme-color($theme, system, on-surface), |
79 | 79 | form-field-filled-disabled-input-text-color: $disabled, |
80 | 80 | form-field-filled-input-text-placeholder-color: |
81 | 81 | inspection.get-theme-color($theme, foreground, base, 0.6), |
|
88 | 88 | form-field-filled-disabled-active-indicator-color: |
89 | 89 | inspection.get-theme-color($theme, foreground, base, 0.06), |
90 | 90 | form-field-filled-hover-active-indicator-color: |
91 | | - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 91 | + inspection.get-theme-color($theme, system, on-surface), |
92 | 92 | form-field-filled-error-active-indicator-color: $warn-color, |
93 | 93 | form-field-filled-error-focus-active-indicator-color: $warn-color, |
94 | 94 | form-field-filled-error-hover-active-indicator-color: $warn-color, |
|
98 | 98 | inspection.get-theme-color($theme, foreground, base, 0.6), |
99 | 99 | form-field-outlined-disabled-label-text-color: $disabled, |
100 | 100 | form-field-outlined-input-text-color: |
101 | | - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 101 | + inspection.get-theme-color($theme, system, on-surface), |
102 | 102 | form-field-outlined-disabled-input-text-color: $disabled, |
103 | 103 | form-field-outlined-input-text-placeholder-color: |
104 | 104 | inspection.get-theme-color($theme, foreground, base, 0.6), |
|
110 | 110 | form-field-outlined-disabled-outline-color: |
111 | 111 | inspection.get-theme-color($theme, foreground, base, 0.06), |
112 | 112 | form-field-outlined-hover-outline-color: |
113 | | - inspection.get-theme-color($theme, foreground, base, 0.87), |
| 113 | + inspection.get-theme-color($theme, system, on-surface), |
114 | 114 | form-field-outlined-error-focus-outline-color: $warn-color, |
115 | 115 | form-field-outlined-error-hover-outline-color: $warn-color, |
116 | 116 | form-field-outlined-error-outline-color: $warn-color, |
|
0 commit comments