From bd8dfa5b92e06c426a3fc3b8880ac66d6e7bbfcd Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 7 Dec 2022 19:47:56 +0100 Subject: [PATCH] add empty dracula theme --- .../com/github/libretube/util/ThemeHelper.kt | 1 + app/src/main/res/values-night/themes.xml | 33 ++++++++++ app/src/main/res/values/array.xml | 2 + app/src/main/res/values/colors.xml | 62 ++++++++++++++++++- app/src/main/res/values/themes.xml | 33 ++++++++++ 5 files changed, 130 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/util/ThemeHelper.kt b/app/src/main/java/com/github/libretube/util/ThemeHelper.kt index 12784f34d..3d3b724c4 100644 --- a/app/src/main/java/com/github/libretube/util/ThemeHelper.kt +++ b/app/src/main/java/com/github/libretube/util/ThemeHelper.kt @@ -48,6 +48,7 @@ object ThemeHelper { "green" -> R.style.Theme_Green "purple" -> R.style.Theme_Purple "monochrome" -> R.style.Theme_Monochrome + "dracula" -> R.style.Theme_Dracula else -> R.style.Theme_Purple } activity.setTheme(theme) diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index af531111c..ec2a67300 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -212,6 +212,39 @@ + + + +