Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9985a87 authored by Marcus Ge's avatar Marcus Ge Committed by Android (Google) Code Review
Browse files

Merge "[Settings] Migrate legacy attributes to respect color contrast" into main

parents a647595d 18af958d
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2024 The Android Open Source 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>
    <style name="Theme.SettingsBase" parent="Theme.SettingsBase_v31" >
        <item name="android:spinnerStyle">@style/Spinner.SettingsLib</item>
        <item name="android:spinnerItemStyle">@style/SpinnerItem.SettingsLib</item>
        <item name="android:spinnerDropDownItemStyle">@style/SpinnerDropDownItem.SettingsLib</item>

        <item name="android:colorAccent">@color/settingslib_materialColorPrimary</item>
        <!-- component module background -->
        <item name="android:colorBackground">@color/settingslib_materialColorSurfaceContainer</item>
        <item name="android:textColorPrimary">@color/settingslib_materialColorOnSurface</item>
        <item name="android:textColorSecondary">@color/settingslib_materialColorOnSurfaceVariant</item>
        <item name="android:textColorTertiary">@color/settingslib_materialColorOutline</item>
    </style>
</resources>
 No newline at end of file