overlay: core: Remove accent color overrides

On Android 12, AOSP's default Theme.DeviceDefault colors are mapped to
various shades and tonal variations from the system-wide Material You
color palette. Overriding the default accent colors with these legacy
LineageOS teal colors prevents dynamic theming (Monet) from working
properly across the system as it only affects the Material You color
palette. It also creates an accessibility issue as the new design
expects specific lightness shades for the light and dark accent colors.

Remove the color overrides to fix Monet and UI colors in general.

Change-Id: I81f18d136d8d4e22c3219bea05536219bb5ce672
This commit is contained in:
Danny Lin
2021-10-22 12:24:02 -07:00
committed by Michael Bestas
parent 157a2a7173
commit 2cf8a6ad0a

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2018, The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<color name="accent_device_default_700">#167C80</color>
<color name="accent_device_default_dark">#167C80</color>
<color name="accent_device_default_light">#167C80</color>
<color name="material_deep_teal_200">#167C80</color>
<color name="material_deep_teal_500">#167C80</color>
</resources>