From 0bf11e10fd0008492870177841716d66082f867f Mon Sep 17 00:00:00 2001
From: krlvm <51774833+krlvm@users.noreply.github.com>
Date: Sun, 1 Sep 2024 18:47:37 +0300
Subject: [PATCH] Force dark navbar in dark mode
---
app/src/main/res/values-night/attrs.xml | 4 ++++
app/src/main/res/values-night/colors.xml | 8 ++++++++
app/src/main/res/values-night/themes.xml | 13 ------------
app/src/main/res/values-v27/themes.xml | 7 +++++++
app/src/main/res/values/attrs.xml | 4 ++++
app/src/main/res/values/colors.xml | 11 ++++++++++
app/src/main/res/values/themes.xml | 26 ++++++++++++------------
7 files changed, 47 insertions(+), 26 deletions(-)
create mode 100644 app/src/main/res/values-night/attrs.xml
create mode 100644 app/src/main/res/values-night/colors.xml
delete mode 100644 app/src/main/res/values-night/themes.xml
create mode 100644 app/src/main/res/values-v27/themes.xml
create mode 100644 app/src/main/res/values/attrs.xml
diff --git a/app/src/main/res/values-night/attrs.xml b/app/src/main/res/values-night/attrs.xml
new file mode 100644
index 0000000..7c3e671
--- /dev/null
+++ b/app/src/main/res/values-night/attrs.xml
@@ -0,0 +1,4 @@
+
+
+ false
+
\ No newline at end of file
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
new file mode 100644
index 0000000..e402a18
--- /dev/null
+++ b/app/src/main/res/values-night/colors.xml
@@ -0,0 +1,8 @@
+
+
+ @color/white
+ #E5E5E5
+ @color/black
+
+ @color/black
+
\ No newline at end of file
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
deleted file mode 100644
index bfbf657..0000000
--- a/app/src/main/res/values-night/themes.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml
new file mode 100644
index 0000000..6aeed6e
--- /dev/null
+++ b/app/src/main/res/values-v27/themes.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
new file mode 100644
index 0000000..dbfa286
--- /dev/null
+++ b/app/src/main/res/values/attrs.xml
@@ -0,0 +1,4 @@
+
+
+ true
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index c8524cd..d5ac8ea 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -2,4 +2,15 @@
#FF000000
#FFFFFFFF
+
+
+ #5976DF
+ #3C52A3
+ @color/white
+
+ #5976DF
+ #3C52A3
+ @color/white
+
+ @color/primaryVariant
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 5640a33..b49202e 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,16 +1,16 @@
-
-
+
+