Merge pull request #1 from RetrogisusDEV/New_theme_color

Added And Fix new theme
This commit is contained in:
RetrogisusDEV 2024-10-05 09:59:00 -04:00 committed by GitHub
commit 9e188b4a21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 48 additions and 6 deletions

View File

@ -31,7 +31,9 @@
<item>@string/pref_theme_e_monet</item>
<item>@string/pref_theme_e_monetlight</item>
<item>@string/pref_theme_e_monetdark</item>
<item>@string/pref_theme_e_pasteldarkblue</item>
<item>@string/pref_theme_e_pasteldark</item>
<item>@string/pref_theme_e_pastellight</item>
<item>@string/pref_theme_e_windowsphone</item>
</string-array>
<string-array name="pref_theme_values">
<item>system</item>
@ -46,7 +48,9 @@
<item>monet</item>
<item>monetlight</item>
<item>monetdark</item>
<item>pasteldarkblue</item>
<item>pasteldark</item>
<item>pastellight</item>
<item>windowsphone</item>
</string-array>
<string-array name="pref_swipe_dist_entries">
<item>@string/pref_swipe_dist_e_very_short</item>

View File

@ -71,7 +71,9 @@ This application contains no ads, doesn't make any network requests and is Open
<string name="pref_theme_e_monet">Monet (System)</string>
<string name="pref_theme_e_monetlight">Monet (Light)</string>
<string name="pref_theme_e_monetdark">Monet (Dark)</string>
<string name="pref_theme_e_pasteldarkblue">Pastel Dark (blue)</string>
<string name="pref_theme_e_pasteldark">Pastel Dark</string>
<string name="pref_theme_e_pastellight">Pastel light</string>
<string name="pref_theme_e_windowsphone">Windows Phone Style</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>

View File

@ -203,7 +203,7 @@
<item name="emoji_button_bg">?colorKeyActivated</item>
<item name="emoji_color">@android:color/system_accent1_900</item>
</style>
<style name="PastelDarkBlue" parent="@style/BaseTheme">
<style name="PastelDark" parent="@style/BaseTheme">
<item name="android:isLightTheme">false</item>
<item name="colorKeyboard">#333334</item>
<item name="colorKey">#11111B</item>
@ -220,5 +220,39 @@
<item name="keyBorderColorBottom">#8AADF4</item>
<item name="emoji_button_bg">?colorKeyActivated</item>
<item name="emoji_color">#000000</item>
</style>
</style>
<style name="PastelLight" parent="@style/BaseTheme">
<item name="android:isLightTheme">true</item>
<item name="colorKeyboard">#E6E9EF</item>
<item name="colorKey">#DCE0E8</item>
<item name="colorKeyActivated">#EFF1F5</item>
<item name="colorLabel">#4C4F69</item>
<item name="colorLabelActivated">#9CA0B0</item>
<item name="colorLabelLocked">#437FF7</item>
<item name="colorSubLabel">#DEE5E3</item>
<item name="keyBorderWidth">1.0dip</item>
<item name="keyBorderWidthActivated">1.0dip</item>
<item name="keyBorderColorLeft">#9CA0B0</item>
<item name="keyBorderColorTop">#9CA0B0</item>
<item name="keyBorderColorRight">#9CA0B0</item>
<item name="keyBorderColorBottom">#9CA0B0</item>
<item name="emoji_button_bg">?colorKeyActivated</item>
<item name="emoji_color">#000000</item>
</style>
<style name="WindowsPhone" parent="BaseTheme">
<item name="android:isLightTheme">false</item>
<item name="colorKeyboard">#2B2B2C</item>
<item name="colorKey">#3C3C3C</item>
<item name="colorKeyActivated">#1A1A1A</item>
<item name="keyBorderRadius">0dp</item>
<item name="keyBorderWidth">0dp</item>
<item name="keyBorderWidthActivated">0dp</item>
<item name="keyBorderColorBottom">#404040</item>
<item name="colorLabel">#FFFFFF</item>
<item name="colorLabelActivated">#DDDDDD</item>
<item name="colorLabelLocked">#437FF7</item>
<item name="colorSubLabel">#CCCCCC</item>
<item name="emoji_button_bg" type="color">#2B2B2C</item>
<item name="emoji_color" type="color">#ffffff</item>
</style>
</resources>

View File

@ -417,7 +417,9 @@ public final class Config
case "jungle": return R.style.Jungle;
case "monetlight": return R.style.MonetLight;
case "monetdark": return R.style.MonetDark;
case "pasteldarkblue" : return R.style.PastelDarkBlue;
case "pasteldark" : return R.style.PastelDark;
case "pastellight" : return R.style.PastelLight;
case "windowsphone" : return R.style.WindowsPhone;
case "monet":
if ((night_mode & Configuration.UI_MODE_NIGHT_NO) != 0)
return R.style.MonetLight;