diff options
| author | 2024-03-04 22:40:58 +0000 | |
|---|---|---|
| committer | 2024-03-14 15:51:44 +0000 | |
| commit | 0fb6b32428a536ad0275dfaa01517a646d80a391 (patch) | |
| tree | b443ebdcd64b2a8816b44485f7bfdd884ae6266b | |
| parent | e4812b3ce38035070bb51b36b9f7670cc3b8290d (diff) | |
[Settings] Update component color to respect contrast in v34+
doc: go/settings-color-roles-remapping-result
Test: local raven device
Bug: 299907492
Change-Id: I5551a2d02c4fbef6d5b9536e99672aef439738f0
| -rw-r--r-- | packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml | 4 | ||||
| -rw-r--r-- | packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml | 4 | 
2 files changed, 8 insertions, 0 deletions
diff --git a/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml b/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml index e3645b55981b..beed90efb508 100644 --- a/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml +++ b/packages/SettingsLib/SettingsTheme/res/values-night-v34/colors.xml @@ -37,4 +37,8 @@      <!-- Material next track off color-->      <color name="settingslib_track_off_color">@android:color/system_surface_container_highest_dark      </color> + +    <color name="settingslib_text_color_primary_device_default">@android:color/system_on_surface_dark</color> + +    <color name="settingslib_text_color_secondary_device_default">@android:color/system_on_surface_variant_dark</color>  </resources> diff --git a/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml b/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml index fdd96ec78efc..3709b5d13056 100644 --- a/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml +++ b/packages/SettingsLib/SettingsTheme/res/values-v34/colors.xml @@ -39,4 +39,8 @@      <!-- Material next track outline color-->      <color name="settingslib_track_online_color">@color/settingslib_switch_track_outline_color</color> + +    <color name="settingslib_text_color_primary_device_default">@android:color/system_on_surface_light</color> + +    <color name="settingslib_text_color_secondary_device_default">@android:color/system_on_surface_variant_light</color>  </resources>
\ No newline at end of file  |