Skip to content

Commit cfe6dce

Browse files
[Text field] Make highlight text colour respect the theme rather than M3 default
Resolves #4371 GIT_ORIGIN_REV_ID=c7da763ff3620ec96fa7a6982e3ea6be99618ff1 Co-authored-by: kendrickumstattd <[email protected]> PiperOrigin-RevId: 711445558
1 parent 64d61d3 commit cfe6dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/color/res/color/m3_highlighted_text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
-->
1717
<!-- Material3 alternative to textColorHighlight for light theme -->
1818
<selector xmlns:android="http://schemas.android.com/apk/res/android">
19-
<item android:alpha="@dimen/material_emphasis_medium" android:color="@color/m3_sys_color_light_primary" />
19+
<item android:alpha="@dimen/material_emphasis_medium" android:color="?attr/colorOnPrimaryContainer" />
2020
</selector>

0 commit comments

Comments
 (0)