From 8675ae24368dbf904176f1813ed0d8945e145fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joy=20Serqui=C3=B1a?= <44146839+essjay05@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:21:53 -0800 Subject: [PATCH] fix(material/form-field): insufficient color contrast text to input fill (#28274) Increases contrast between text and label colors to bg input fill color. (cherry picked from commit 82ecf0d24aabbb156463903c45667a10b5606a79) --- src/material/core/tokens/m2/mat/_form-field.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/core/tokens/m2/mat/_form-field.scss b/src/material/core/tokens/m2/mat/_form-field.scss index 1e450913a32a..96ec73b5b2bb 100644 --- a/src/material/core/tokens/m2/mat/_form-field.scss +++ b/src/material/core/tokens/m2/mat/_form-field.scss @@ -60,7 +60,7 @@ $prefix: (mat, form-field); disabled-select-arrow-color: rgba($on-surface, 0.38), hover-state-layer-opacity: if($is-dark, 0.08, 0.04), - focus-state-layer-opacity: if($is-dark, 0.24, 0.12), + focus-state-layer-opacity: if($is-dark, 0.24, 0.08), )); }