summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-04-20 20:33:20 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:54 +0200
commit7531641ecc1cd5770c1e190c26933a4fe6dfa0ab (patch)
treef3eee6e286fca96815ca603a67e173c93c8e3c25 /src/android
parentandroid: Remove check for API 29 in themes (diff)
downloadyuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar.gz
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar.bz2
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar.lz
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar.xz
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.tar.zst
yuzu-7531641ecc1cd5770c1e190c26933a4fe6dfa0ab.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/res/values-night-v31/themes.xml29
-rw-r--r--src/android/app/src/main/res/values-v31/themes.xml29
2 files changed, 58 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/values-night-v31/themes.xml b/src/android/app/src/main/res/values-night-v31/themes.xml
new file mode 100644
index 000000000..4d20271e8
--- /dev/null
+++ b/src/android/app/src/main/res/values-night-v31/themes.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="Theme.Yuzu.Main.MaterialYou" parent="Theme.Yuzu.Main">
+ <item name="colorPrimary">@color/m3_sys_color_dynamic_dark_primary</item>
+ <item name="colorOnPrimary">@color/m3_sys_color_dynamic_dark_on_primary</item>
+ <item name="colorPrimaryContainer">@color/m3_sys_color_dynamic_dark_primary_container</item>
+ <item name="colorOnPrimaryContainer">@color/m3_sys_color_dynamic_dark_on_primary_container</item>
+ <item name="colorSecondary">@color/m3_sys_color_dynamic_dark_secondary</item>
+ <item name="colorOnSecondary">@color/m3_sys_color_dynamic_dark_on_secondary</item>
+ <item name="colorSecondaryContainer">@color/m3_sys_color_dynamic_dark_secondary_container</item>
+ <item name="colorOnSecondaryContainer">@color/m3_sys_color_dynamic_dark_on_secondary_container</item>
+ <item name="colorTertiary">@color/m3_sys_color_dynamic_dark_tertiary</item>
+ <item name="colorOnTertiary">@color/m3_sys_color_dynamic_dark_on_tertiary</item>
+ <item name="colorTertiaryContainer">@color/m3_sys_color_dynamic_dark_tertiary_container</item>
+ <item name="colorOnTertiaryContainer">@color/m3_sys_color_dynamic_dark_on_tertiary_container</item>
+ <item name="android:colorBackground">@color/m3_sys_color_dynamic_dark_background</item>
+ <item name="colorOnBackground">@color/m3_sys_color_dynamic_dark_on_background</item>
+ <item name="colorSurface">@color/m3_sys_color_dynamic_dark_surface</item>
+ <item name="colorOnSurface">@color/m3_sys_color_dynamic_dark_on_surface</item>
+ <item name="colorSurfaceVariant">@color/m3_sys_color_dynamic_dark_surface_variant</item>
+ <item name="colorOnSurfaceVariant">@color/m3_sys_color_dynamic_dark_on_surface_variant</item>
+ <item name="colorOutline">@color/m3_sys_color_dynamic_dark_outline</item>
+ <item name="colorOnSurfaceInverse">@color/m3_sys_color_dynamic_dark_on_surface_variant</item>
+ <item name="colorSurfaceInverse">@color/m3_sys_color_dynamic_dark_surface_variant</item>
+ <item name="colorPrimaryInverse">@color/m3_sys_color_dynamic_dark_inverse_primary</item>
+ </style>
+
+</resources>
diff --git a/src/android/app/src/main/res/values-v31/themes.xml b/src/android/app/src/main/res/values-v31/themes.xml
new file mode 100644
index 000000000..292e44693
--- /dev/null
+++ b/src/android/app/src/main/res/values-v31/themes.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="Theme.Yuzu.Main.MaterialYou" parent="Theme.Yuzu.Main">
+ <item name="colorPrimary">@color/m3_sys_color_dynamic_light_primary</item>
+ <item name="colorOnPrimary">@color/m3_sys_color_dynamic_light_on_primary</item>
+ <item name="colorPrimaryContainer">@color/m3_sys_color_dynamic_light_primary_container</item>
+ <item name="colorOnPrimaryContainer">@color/m3_sys_color_dynamic_light_on_primary_container</item>
+ <item name="colorSecondary">@color/m3_sys_color_dynamic_light_secondary</item>
+ <item name="colorOnSecondary">@color/m3_sys_color_dynamic_light_on_secondary</item>
+ <item name="colorSecondaryContainer">@color/m3_sys_color_dynamic_light_secondary_container</item>
+ <item name="colorOnSecondaryContainer">@color/m3_sys_color_dynamic_light_on_secondary_container</item>
+ <item name="colorTertiary">@color/m3_sys_color_dynamic_light_tertiary</item>
+ <item name="colorOnTertiary">@color/m3_sys_color_dynamic_light_on_tertiary</item>
+ <item name="colorTertiaryContainer">@color/m3_sys_color_dynamic_light_tertiary_container</item>
+ <item name="colorOnTertiaryContainer">@color/m3_sys_color_dynamic_light_on_tertiary_container</item>
+ <item name="android:colorBackground">@color/m3_sys_color_dynamic_light_background</item>
+ <item name="colorOnBackground">@color/m3_sys_color_dynamic_light_on_background</item>
+ <item name="colorSurface">@color/m3_sys_color_dynamic_light_surface</item>
+ <item name="colorOnSurface">@color/m3_sys_color_dynamic_light_on_surface</item>
+ <item name="colorSurfaceVariant">@color/m3_sys_color_dynamic_light_surface_variant</item>
+ <item name="colorOnSurfaceVariant">@color/m3_sys_color_dynamic_light_on_surface_variant</item>
+ <item name="colorOutline">@color/m3_sys_color_dynamic_light_outline</item>
+ <item name="colorOnSurfaceInverse">@color/m3_sys_color_dynamic_light_on_surface_variant</item>
+ <item name="colorSurfaceInverse">@color/m3_sys_color_dynamic_light_surface_variant</item>
+ <item name="colorPrimaryInverse">@color/m3_sys_color_dynamic_light_inverse_primary</item>
+ </style>
+
+</resources>