summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-11-28 13:13:12 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-11-30 12:16:27 +0100
commit26d06d6c881a0decb25b82eae1cee42fc6bc6a31 (patch)
treec1edb9cd6bebbbc2531aa10ac39f2fddd7fb5fa7 /android
parent84996f452f86cb6e83ae0d86c1612e3f3c616a17 (diff)
tdf#124480 android: Override icon color for dark theme
Add a `values-night/colors.xml` that can be used to override the colors specified in `values/colors.xml` specifically for the dark theme. Specify a light color for `toolbar_foreground`, which is the color used for (most) toolbar icons, both for the top-level as well as the bottom toolbar. This makes most icons show up in proper contrast when using dark mode. Others are not making use of the color defined here and will have to be looked into separately. Change-Id: Ic699fd1cecc607bd5e748648113336fe045e72b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160070 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/res/values-night/colors.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/source/res/values-night/colors.xml b/android/source/res/values-night/colors.xml
new file mode 100644
index 000000000000..e02863b10340
--- /dev/null
+++ b/android/source/res/values-night/colors.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="toolbar_foreground">#efefef</color>
+</resources>