abouttreesummaryrefslogcommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorPiotrek Marciniak2022-09-24 13:13:51 +0200
committerGitHub2022-09-24 13:13:51 +0200
commita365fdc6a36e0b74d3486f7633b7e0bba42f4020 (patch)
treeacb503e053f06dda1baa69e82ce64d4833b2fdd0 /res/values
parent9fc15650652d47d96120c1f889d32a363e405c8b (diff)
downloadunexpected-keyboard-a365fdc6a36e0b74d3486f7633b7e0bba42f4020.tar.gz
unexpected-keyboard-a365fdc6a36e0b74d3486f7633b7e0bba42f4020.zip
Add white e-ink oriented theme (#193)
* Add white e-ing oriented theme Co-authored-by: Jules Aguillon <jules@j3s.fr>
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml2
-rw-r--r--res/values/strings.xml1
-rw-r--r--res/values/themes.xml12
3 files changed, 15 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 797147e..d19ad54 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -71,12 +71,14 @@
<item>@string/pref_theme_e_dark</item>
<item>@string/pref_theme_e_light</item>
<item>@string/pref_theme_e_black</item>
+ <item>@string/pref_theme_e_white</item>
</string-array>
<string-array name="pref_theme_values">
<item>system</item>
<item>dark</item>
<item>light</item>
<item>black</item>
+ <item>white</item>
</string-array>
<string-array name="pref_swipe_dist_entries">
<item>@string/pref_swipe_dist_e_very_short</item>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 513b88f..aef3b2d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -40,6 +40,7 @@
<string name="pref_theme_e_dark">Dark</string>
<string name="pref_theme_e_light">Light</string>
<string name="pref_theme_e_black">Black</string>
+ <string name="pref_theme_e_white">White</string>
<string name="pref_swipe_dist_e_very_short">Very short</string>
<string name="pref_swipe_dist_e_short">Short</string>
<string name="pref_swipe_dist_e_default">Normal</string>
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 8aa27d7..1c42740 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -69,4 +69,16 @@
<item name="emoji_button_bg">#000000</item>
<item name="emoji_color">#ffffff</item>
</style>
+ <style name="White" parent="BaseTheme">
+ <item name="android:isLightTheme">true</item>
+ <item name="colorKeyboard">#ffffff</item>
+ <item name="colorKey">#ffffff</item>
+ <item name="colorKeyActivated">#cccccc</item>
+ <item name="colorLabel">#000000</item>
+ <item name="colorLabelActivated">#0066cc</item>
+ <item name="colorLabelLocked">#33cc33</item>
+ <item name="colorSubLabel">#333333</item>
+ <item name="emoji_button_bg">#ffffff</item>
+ <item name="emoji_color">#000000</item>
+ </style>
</resources>