summaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorTheScarastic <warabhishek@e.email>2022-03-29 13:56:17 +0530
committerTheScarastic <warabhishek@e.email>2022-03-29 17:02:31 +0530
commita84a733fc72d71a3991b5d5e3d9390fc724d00c5 (patch)
tree0caaf332de8bba3e6f4b5fc863c36643eda1277b /app/src/main/res/values
parentdded3d54fd9fd1cb112811cde5404bec3cbec922 (diff)
pvc: Add support for dark mode
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/bools.xml20
-rw-r--r--app/src/main/res/values/colors.xml10
-rw-r--r--app/src/main/res/values/themes.xml7
3 files changed, 30 insertions, 7 deletions
diff --git a/app/src/main/res/values/bools.xml b/app/src/main/res/values/bools.xml
new file mode 100644
index 0000000..bdf8531
--- /dev/null
+++ b/app/src/main/res/values/bools.xml
@@ -0,0 +1,20 @@
+<!--
+ ~ Copyright (C) 2021 E FOUNDATION
+ ~
+ ~ This program is free software: you can redistribute it and/or modify
+ ~ it under the terms of the GNU General Public License as published by
+ ~ the Free Software Foundation, either version 3 of the License, or
+ ~ (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ -->
+
+<resources>
+ <bool name="is_day">true</bool>
+</resources>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 1ffc641..b77a233 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -7,17 +7,15 @@
<color name="primary_text">@lineageos.platform:color/color_default_primary_text</color>
<color name="secondary_text">@lineageos.platform:color/color_default_secondary_text</color>
-<!-- <color name="divider">@lineageos.platform:color/color_default_divider</color>-->
-
- <!-- fixed -->
- <color name="red_off">@lineageos.platform:color/color_default_red1</color>
-
+ <color name="background">@lineageos.platform:color/color_default_background</color>
+ <color name="iconInvertedColor">#000000</color>
<!-- Custom -->
<color name="dark_color">#263238</color>
<color name="white">#FFFFFFFF</color>
<color name="grey_overlay">#66FFFFFF</color>
- <color name="green_valid">#2CC766</color>
+ <color name="green_valid">#28C97C</color>
+ <color name="red_off">#F8432E</color>
<color name="blue_unselected">#AADCFE</color> <!-- used in combination with accent color ! -->
<color name="divider">#14212121</color>
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 9bc2442..60cd9e4 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -6,10 +6,15 @@
<item name="colorAccent">@color/accent</item>
<!-- Status bar color. -->
+ <item name="android:statusBarColor">@color/primary</item>
+ <item name="android:navigationBarColor">@color/primary</item>
+ <item name="android:navigationBarDividerColor">@color/primary</item>
+ <item name="android:windowLightNavigationBar">@bool/is_day</item>
+ <item name="android:windowLightStatusBar">@bool/is_day</item>
+
<!-- Customize your theme here. -->
<item name="android:textColor">@color/primary_text</item>
<item name="android:textSize">16sp</item>
</style>
- <!-- fonts : roboto 400 -->
</resources> \ No newline at end of file