overlay: AOSPASystemUI: Follow light/dark theme in power menu
Now that we've modified the power menu to refresh on UI mode changes and use Monet colors, make it follow the system light/dark theme for better integration in light mode. Requires frameworks/base commit: SystemUI: Always refresh global actions dialog on UI mode change Change-Id: I1b44422e3d5b8e161275d5c777addc32feae5af9
This commit is contained in:
parent
216b57b813
commit
9c2bfaf849
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2021 The Proton AOSP 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>
|
||||
<!-- Monet colors for power menu -->
|
||||
<color name="global_actions_lite_background">@*android:color/primary_device_default_dark</color>
|
||||
<color name="global_actions_lite_button_background">@*android:color/surface_variant_dark</color>
|
||||
<color name="global_actions_lite_text">@*android:color/foreground_device_default_dark</color>
|
||||
|
||||
<color name="global_actions_lite_emergency_background">@*android:color/surface_variant_dark</color>
|
||||
<color name="global_actions_lite_emergency_icon">@*android:color/accent_device_default_dark</color>
|
||||
</resources>
|
|
@ -13,10 +13,10 @@
|
|||
-->
|
||||
<resources>
|
||||
<!-- Monet colors for power menu -->
|
||||
<color name="global_actions_lite_background">@*android:color/primary_device_default_dark</color>
|
||||
<color name="global_actions_lite_button_background">@*android:color/surface_variant_dark</color>
|
||||
<color name="global_actions_lite_text">@*android:color/foreground_device_default_dark</color>
|
||||
<color name="global_actions_lite_background">@*android:color/primary_device_default_light</color>
|
||||
<color name="global_actions_lite_button_background">@*android:color/surface_highlight_light</color>
|
||||
<color name="global_actions_lite_text">@*android:color/foreground_device_default_light</color>
|
||||
|
||||
<color name="global_actions_lite_emergency_background">@*android:color/surface_variant_dark</color>
|
||||
<color name="global_actions_lite_emergency_icon">@*android:color/accent_device_default_dark</color>
|
||||
<color name="global_actions_lite_emergency_background">@*android:color/surface_highlight_light</color>
|
||||
<color name="global_actions_lite_emergency_icon">@*android:color/accent_device_default_light</color>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue