From 18f4ef436d3bb2c2e8347b4930ba5ebad0452a00 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Mon, 13 Mar 2023 23:14:31 -0400 Subject: android: Modernize theme system --- src/android/app/src/main/AndroidManifest.xml | 6 +-- .../app/src/main/res/values-night/colors.xml | 18 ------- .../app/src/main/res/values-night/yuzu_colors.xml | 35 +++++++++++++ src/android/app/src/main/res/values-v29/themes.xml | 11 ++++ src/android/app/src/main/res/values/colors.xml | 18 ------- src/android/app/src/main/res/values/styles.xml | 59 ++-------------------- src/android/app/src/main/res/values/themes.xml | 42 +++++++++++++++ .../app/src/main/res/values/yuzu_colors.xml | 35 +++++++++++++ 8 files changed, 130 insertions(+), 94 deletions(-) delete mode 100644 src/android/app/src/main/res/values-night/colors.xml create mode 100644 src/android/app/src/main/res/values-night/yuzu_colors.xml create mode 100644 src/android/app/src/main/res/values-v29/themes.xml delete mode 100644 src/android/app/src/main/res/values/colors.xml create mode 100644 src/android/app/src/main/res/values/themes.xml create mode 100644 src/android/app/src/main/res/values/yuzu_colors.xml (limited to 'src/android') diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index 73ed981c1..6c6720222 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml @@ -32,7 +32,7 @@ @@ -46,13 +46,13 @@ diff --git a/src/android/app/src/main/res/values-night/colors.xml b/src/android/app/src/main/res/values-night/colors.xml deleted file mode 100644 index d71d2acb2..000000000 --- a/src/android/app/src/main/res/values-night/colors.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - #272727 - #121212 - #FEC303 - - #121212 - #3D3D3D - #FF0000 - - #404040 - - #E0E0E0 - #A0A0A0 - - @color/citra_accent - diff --git a/src/android/app/src/main/res/values-night/yuzu_colors.xml b/src/android/app/src/main/res/values-night/yuzu_colors.xml new file mode 100644 index 000000000..aace16f19 --- /dev/null +++ b/src/android/app/src/main/res/values-night/yuzu_colors.xml @@ -0,0 +1,35 @@ + + + + #FFB4A8 + #680200 + #930300 + #FFDAD4 + #E7BDB6 + #442925 + #5D3F3A + #FFDAD4 + #DEC48C + #3E2E04 + #564419 + #FBE0A6 + #FFB4AB + #93000A + #690005 + #FFDAD6 + #201A19 + #EDE0DD + #201A19 + #EDE0DD + #534341 + #D8C2BE + #A08C89 + #201A19 + #EDE0DD + #BF0500 + #000000 + #FFB4A8 + #534341 + #000000 + + diff --git a/src/android/app/src/main/res/values-v29/themes.xml b/src/android/app/src/main/res/values-v29/themes.xml new file mode 100644 index 000000000..ba436f7a4 --- /dev/null +++ b/src/android/app/src/main/res/values-v29/themes.xml @@ -0,0 +1,11 @@ + + + + + + - - - - - - - - - - diff --git a/src/android/app/src/main/res/values/themes.xml b/src/android/app/src/main/res/values/themes.xml new file mode 100644 index 000000000..268e72c4b --- /dev/null +++ b/src/android/app/src/main/res/values/themes.xml @@ -0,0 +1,42 @@ + + + + + + +