Skip to content

Commit

Permalink
fix(material/form-field): insufficient color contrast text to input f…
Browse files Browse the repository at this point in the history
…ill (#28274)

Increases contrast between text and label colors to bg input fill color.

(cherry picked from commit 82ecf0d)
  • Loading branch information
essjay05 authored and zarend committed Jan 29, 2024
1 parent 9e02a11 commit 8675ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/core/tokens/m2/mat/_form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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),
));
}

Expand Down

0 comments on commit 8675ae2

Please sign in to comment.