[app] Update themes (#1069)
This commit is contained in:
parent
7ab16ade9f
commit
eab814a5d5
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:color="@android:color/system_neutral1_500" />
|
||||||
|
<item android:color="@android:color/system_neutral1_50" />
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:color="@android:color/system_neutral1_400" />
|
||||||
|
<item android:color="@android:color/system_neutral1_900" />
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:alpha="?android:disabledAlpha" android:color="@android:color/system_neutral2_200" />
|
||||||
|
<item android:color="@android:color/system_neutral2_200" />
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:alpha="?android:disabledAlpha" android:color="@android:color/system_neutral2_700" />
|
||||||
|
<item android:color="@android:color/system_neutral2_700" />
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:alpha="?android:disabledAlpha" android:color="@android:color/system_neutral2_400" />
|
||||||
|
<item android:color="@android:color/system_neutral2_400" />
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
~ This file is part of LSPosed.
|
||||||
|
~
|
||||||
|
~ LSPosed is free software: you can redistribute it and/or modify
|
||||||
|
~ it under the terms of the GNU General Public License as published by
|
||||||
|
~ the Free Software Foundation, either version 3 of the License, or
|
||||||
|
~ (at your option) any later version.
|
||||||
|
~
|
||||||
|
~ LSPosed is distributed in the hope that it will be useful,
|
||||||
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
~ GNU General Public License for more details.
|
||||||
|
~
|
||||||
|
~ You should have received a copy of the GNU General Public License
|
||||||
|
~ along with LSPosed. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
~
|
||||||
|
~ Copyright (C) 2021 LSPosed Contributors
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:alpha="?android:disabledAlpha" android:color="@android:color/system_neutral2_500" />
|
||||||
|
<item android:color="@android:color/system_neutral2_500" />
|
||||||
|
</selector>
|
||||||
|
|
@ -20,6 +20,18 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<color name="system">@android:color/system_accent1_200</color>
|
<color name="color_primary_md3">@color/color_primary_md3_dark</color>
|
||||||
<color name="system_background">@android:color/system_neutral1_800</color>
|
|
||||||
|
<color name="color_background_md3">@color/color_background_md3_dark</color>
|
||||||
|
|
||||||
|
<color name="color_surface_md3">@color/color_surface_md3_dark</color>
|
||||||
|
|
||||||
|
<color name="color_background_floating_md3">@color/color_background_floating_md3_dark</color>
|
||||||
|
|
||||||
|
<color name="primary_text_md3">@color/primary_text_md3_dark</color>
|
||||||
|
<color name="primary_text_inverse_md3">@color/primary_text_md3_light</color>
|
||||||
|
<color name="secondary_text_md3">@color/secondary_text_md3_dark</color>
|
||||||
|
<color name="secondary_text_inverse_md3">@color/secondary_text_md3_light</color>
|
||||||
|
<color name="tertiary_text_md3">@color/tertiary_text_md3_dark</color>
|
||||||
|
<color name="tertiary_text_inverse_md3">@color/tertiary_text_md3_light</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,27 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<color name="system">@android:color/system_accent1_500</color>
|
|
||||||
<color name="system_background">@android:color/system_neutral1_50</color>
|
<color name="color_primary_md3_light">@android:color/system_accent1_600</color>
|
||||||
|
<color name="color_primary_md3_dark">@android:color/system_accent1_200</color>
|
||||||
|
<color name="color_primary_md3">@color/color_primary_md3_light</color>
|
||||||
|
|
||||||
|
<color name="color_surface_md3_light">@android:color/system_neutral1_50</color>
|
||||||
|
<color name="color_surface_md3_dark">@android:color/system_neutral1_900</color>
|
||||||
|
<color name="color_surface_md3">@color/color_surface_md3_light</color>
|
||||||
|
|
||||||
|
<color name="color_background_md3_light">@android:color/system_neutral1_50</color>
|
||||||
|
<color name="color_background_md3_dark">@android:color/system_neutral1_800</color>
|
||||||
|
<color name="color_background_md3">@color/color_background_md3_light</color>
|
||||||
|
|
||||||
|
<color name="color_background_floating_md3_light">@android:color/system_neutral1_50</color>
|
||||||
|
<color name="color_background_floating_md3_dark">@android:color/system_neutral1_800</color>
|
||||||
|
<color name="color_background_floating_md3">@color/color_background_floating_md3_light</color>
|
||||||
|
|
||||||
|
<color name="primary_text_md3">@color/primary_text_md3_light</color>
|
||||||
|
<color name="primary_text_inverse_md3">@color/primary_text_md3_dark</color>
|
||||||
|
<color name="secondary_text_md3">@color/secondary_text_md3_light</color>
|
||||||
|
<color name="secondary_text_inverse_md3">@color/secondary_text_md3_dark</color>
|
||||||
|
<color name="tertiary_text_md3">@color/tertiary_text_md3_light</color>
|
||||||
|
<color name="tertiary_text_inverse_md3">@color/tertiary_text_md3_dark</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -20,19 +20,15 @@
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="ThemeOverlay.system">
|
<style name="ThemeOverlay.system">
|
||||||
<item name="colorPrimary">@color/system</item>
|
<item name="colorPrimary">@color/color_primary_md3</item>
|
||||||
<item name="colorBackgroundFloating">@color/system_background</item>
|
<item name="colorSurface">@color/color_surface_md3</item>
|
||||||
<item name="android:colorBackground">@color/system_background</item>
|
<item name="colorBackgroundFloating">@color/color_background_floating_md3</item>
|
||||||
<item name="android:windowBackground">@color/system_background</item>
|
<item name="android:colorBackground">@color/color_background_md3</item>
|
||||||
<item name="dialogTheme">@style/ThemeOverlay.Material.Dialog.SystemAccent</item>
|
<item name="android:textColorPrimary">@color/primary_text_md3</item>
|
||||||
<item name="alertDialogTheme">@style/ThemeOverlay.Material.Dialog.Alert.SystemAccent</item>
|
<item name="android:textColorPrimaryInverse">@color/primary_text_inverse_md3</item>
|
||||||
</style>
|
<item name="android:textColorSecondary">@color/secondary_text_md3</item>
|
||||||
|
<item name="android:textColorSecondaryInverse">@color/secondary_text_inverse_md3</item>
|
||||||
<style name="ThemeOverlay.Material.Dialog.SystemAccent" parent="ThemeOverlay.Material.Dialog">
|
<item name="android:textColorTertiary">@color/tertiary_text_md3</item>
|
||||||
<item name="android:colorBackground">?colorBackgroundFloating</item>
|
<item name="android:textColorTertiaryInverse">@color/tertiary_text_inverse_md3</item>
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="ThemeOverlay.Material.Dialog.Alert.SystemAccent" parent="ThemeOverlay.Material.Dialog.Alert">
|
|
||||||
<item name="android:colorBackground">?colorBackgroundFloating</item>
|
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,4 @@
|
||||||
<color name="material_brown">@color/material_brown_500</color>
|
<color name="material_brown">@color/material_brown_500</color>
|
||||||
<color name="material_grey">@color/material_grey_500</color>
|
<color name="material_grey">@color/material_grey_500</color>
|
||||||
<color name="material_blue_grey">@color/material_blue_grey_500</color>
|
<color name="material_blue_grey">@color/material_blue_grey_500</color>
|
||||||
<color name="system">@color/material_blue</color>
|
|
||||||
<color name="system_background">@color/material_blue</color>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,4 @@
|
||||||
<style name="ThemeOverlay.material_blue_grey">
|
<style name="ThemeOverlay.material_blue_grey">
|
||||||
<item name="colorPrimary">@color/material_blue_grey</item>
|
<item name="colorPrimary">@color/material_blue_grey</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ThemeOverlay.system" />
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
|
|
@ -60,4 +60,4 @@
|
||||||
<!-- 0.8 Spacing, 0.8/11 = 0.072727273 -->
|
<!-- 0.8 Spacing, 0.8/11 = 0.072727273 -->
|
||||||
<item name="android:letterSpacing">0.072727273</item>
|
<item name="android:letterSpacing">0.072727273</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue