abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/values/arrays.xml6
-rw-r--r--res/values/strings.xml3
-rw-r--r--res/values/themes.xml58
-rw-r--r--srcs/juloo.keyboard2/Config.java3
4 files changed, 70 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 56015e9..8983820 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -43,6 +43,9 @@
<item>@string/pref_theme_e_monetdark</item>
<item>@string/pref_theme_e_rosepine</item>
<item>@string/pref_theme_e_everforestlight</item>
+ <item>@string/pref_theme_e_cobalt</item>
+ <item>@string/pref_theme_e_pine</item>
+ <item>@string/pref_theme_e_epaperblack</item>
</string-array>
<string-array name="pref_theme_values">
<item>system</item>
@@ -59,6 +62,9 @@
<item>monetdark</item>
<item>rosepine</item>
<item>everforestlight</item>
+ <item>cobalt</item>
+ <item>pine</item>
+ <item>epaperblack</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 05e9160..975b699 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -74,6 +74,9 @@
<string name="pref_theme_e_monetdark">Monet (Dark)</string>
<string name="pref_theme_e_rosepine">Rosé Pine</string>
<string name="pref_theme_e_everforestlight">Everforest Light</string>
+ <string name="pref_theme_e_cobalt">Cobalt</string>
+ <string name="pref_theme_e_pine">Pine</string>
+ <string name="pref_theme_e_epaperblack">ePaper Black</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 d9aa7dd..84a4d6b 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -237,4 +237,62 @@
<item name="emoji_color">?colorLabel</item>
<item name="clipboard_divider_color">?colorKey</item>
</style>
+ <style name="Cobalt" parent="BaseTheme">
+ <item name="android:isLightTheme">false</item>
+ <item name="colorKeyboard">#000000</item>
+ <item name="colorKey">?colorKeyboard</item>
+ <item name="colorKeyActivated">#78bfff</item>
+ <item name="colorLabel">#95c9ff</item>
+ <item name="colorLabelActivated">?colorKey</item>
+ <item name="colorLabelLocked">#ffffff</item>
+ <item name="colorSubLabel">#66dbff</item>
+ <item name="keyBorderWidth">0.0dip</item>
+ <item name="keyBorderWidthActivated">0.0dip</item>
+ <item name="keyBorderColorLeft">#333349</item>
+ <item name="keyBorderColorTop">#333349</item>
+ <item name="keyBorderColorRight">#333349</item>
+ <item name="keyBorderColorBottom">#333349</item>
+ <item name="emoji_button_bg">?colorKeyboard</item>
+ <item name="emoji_color">?colorLabel</item>
+ <item name="clipboard_divider_color">?colorKey</item>
+ </style>
+ <style name="Pine" parent="BaseTheme">
+ <item name="android:isLightTheme">false</item>
+ <item name="colorKeyboard">#000000</item>
+ <item name="colorKey">?colorKeyboard</item>
+ <item name="colorKeyActivated">#74cc8a</item>
+ <item name="colorLabel">#91d7a6</item>
+ <item name="colorLabelActivated">?colorKey</item>
+ <item name="colorLabelLocked">#f7ff9b</item>
+ <item name="colorSubLabel">#63ea8b</item>
+ <item name="keyBorderWidth">0.0dip</item>
+ <item name="keyBorderWidthActivated">0.0dip</item>
+ <item name="keyBorderColorLeft">#2f301e</item>
+ <item name="keyBorderColorTop">#2f301e</item>
+ <item name="keyBorderColorRight">#2f301e</item>
+ <item name="keyBorderColorBottom">#2f301e</item>
+ <item name="emoji_button_bg">?colorKeyboard</item>
+ <item name="emoji_color">?colorLabel</item>
+ <item name="clipboard_divider_color">?colorKey</item>
+ </style>
+ <style name="ePaperBlack" parent="BaseTheme">
+ <item name="android:isLightTheme">false</item>
+ <item name="colorKeyboard">#000000</item>
+ <item name="colorKey">?colorKeyboard</item>
+ <item name="colorKeyActivated">#ffffff</item>
+ <item name="colorLabel">#ffffff</item>
+ <item name="colorLabelActivated">?colorKey</item>
+ <item name="colorLabelLocked">#f5060b</item>
+ <item name="colorSubLabel">?colorLabel</item>
+ <item name="keyBorderWidth">1dp</item>
+ <item name="keyBorderWidthActivated">5dp</item>
+ <item name="keyBorderColorLeft">#ffffff</item>
+ <item name="keyBorderColorTop">#ffffff</item>
+ <item name="keyBorderColorRight">#ffffff</item>
+ <item name="keyBorderColorBottom">#ffffff</item>
+ <item name="emoji_button_bg">?colorKeyboard</item>
+ <item name="emoji_color">?colorLabel</item>
+ <item name="clipboard_divider_color">?colorLabel</item>
+ <item name="clipboard_divider_height">2dp</item>
+ </style>
</resources>
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index b3eadf5..5dbf030 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -258,6 +258,9 @@ public final class Config
return R.style.MonetDark;
case "rosepine": return R.style.RosePine;
case "everforestlight": return R.style.EverforestLight;
+ case "cobalt": return R.style.Cobalt;
+ case "pine": return R.style.Pine;
+ case "epaperblack": return R.style.ePaperBlack;
default:
case "system":
if ((night_mode & Configuration.UI_MODE_NIGHT_NO) != 0)