From 4b0f54966653c0a313d60cfe0d13d12b2c12ec79 Mon Sep 17 00:00:00 2001 From: Batuhan <111619757+NahutabDevelop@users.noreply.github.com> Date: Sat, 20 Aug 2022 13:23:32 -0400 Subject: [PATCH] New Theme Tidal Wave (#7825) * New Theme Tidal Wave Added a new strong blue theme appearance to Tachiyomi titled Tidal Wave. * Better Tertiary Color: Seafoam Green Updated the tertiary color to be lighter and match the blue more. Also changed the active button color to contrast better. --- .../data/preference/PreferenceValues.kt | 1 + .../ui/base/delegate/ThemingDelegate.kt | 3 ++ .../res/values-night/colors_tidalwave.xml | 36 +++++++++++++++++++ app/src/main/res/values/colors_tidalwave.xml | 36 +++++++++++++++++++ app/src/main/res/values/strings.xml | 1 + app/src/main/res/values/themes.xml | 27 ++++++++++++++ 6 files changed, 104 insertions(+) create mode 100644 app/src/main/res/values-night/colors_tidalwave.xml create mode 100644 app/src/main/res/values/colors_tidalwave.xml diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt index 7b35fefe7b..9ffe6f0681 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt @@ -40,6 +40,7 @@ object PreferenceValues { TEALTURQUOISE(R.string.theme_tealturquoise), YINYANG(R.string.theme_yinyang), YOTSUBA(R.string.theme_yotsuba), + TIDAL_WAVE(R.string.theme_tidalwave), // Deprecated DARK_BLUE(null), diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/delegate/ThemingDelegate.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/delegate/ThemingDelegate.kt index f3e54385a7..177e507ce2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/delegate/ThemingDelegate.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/delegate/ThemingDelegate.kt @@ -41,6 +41,9 @@ interface ThemingDelegate { PreferenceValues.AppTheme.YOTSUBA -> { resIds += R.style.Theme_Tachiyomi_Yotsuba } + PreferenceValues.AppTheme.TIDAL_WAVE -> { + resIds += R.style.Theme_Tachiyomi_TidalWave + } else -> { resIds += R.style.Theme_Tachiyomi } diff --git a/app/src/main/res/values-night/colors_tidalwave.xml b/app/src/main/res/values-night/colors_tidalwave.xml new file mode 100644 index 0000000000..7cf425d555 --- /dev/null +++ b/app/src/main/res/values-night/colors_tidalwave.xml @@ -0,0 +1,36 @@ + + + + #5ed4fc + #003544 + #004d61 + #b8eaff + #5ed4fc + #003544 + #004d61 + #b8eaff + #92f7bc + #001c3b + #c3fada + #78ffd6 + #001c3b + #d5e3ff + #001c3b + #d5e3ff + #40484c + #bfc8cc + #8a9296 + #001c3b + #ffe3c4 + #a12b03 + + \ No newline at end of file diff --git a/app/src/main/res/values/colors_tidalwave.xml b/app/src/main/res/values/colors_tidalwave.xml new file mode 100644 index 0000000000..8ae6942d5f --- /dev/null +++ b/app/src/main/res/values/colors_tidalwave.xml @@ -0,0 +1,36 @@ + + + + + #006780 + #ffffff + #B4D4DF + #001f28 + #006780 + #ffffff + #b8eaff + #001f28 + #92f7bc + #001c3b + #c3fada + #78ffd6 + #fdfbff + #001c3b + #fdfbff + #001c3b + #dce4e8 + #40484c + #70787c + #ffe3c4 + #020400 + #ff987f + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e934a30c78..013f61eb58 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -170,6 +170,7 @@ Teal & Turquoise Yin & Yang Yotsuba + Tidal Wave Pure black dark mode Navigation Side navigation icon alignment diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 0c408c8237..6a70f005d9 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -318,6 +318,33 @@ @color/yotsuba_primaryInverse + + +