simplify theme handling
This commit is contained in:
parent
92ae463b38
commit
f08efec0b6
11 changed files with 24 additions and 129 deletions
|
|
@ -31,13 +31,9 @@
|
|||
</string-array>
|
||||
|
||||
<string-array name="app_theme_values">
|
||||
<item>AppTheme:prefer:night</item>
|
||||
<item>Remin:only:day</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="app_theme_flavor_values">
|
||||
<item>auto</item>
|
||||
<item>night</item>
|
||||
<item>day</item>
|
||||
<item>auto</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
|
@ -172,15 +172,9 @@
|
|||
<string name="pref_title_app_theme">App Theme</string>
|
||||
|
||||
<string-array name="app_theme_names">
|
||||
<item>Tusky</item>
|
||||
<item>Remin</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_app_theme_flavor">Theme flavor</string>
|
||||
<string-array name="app_theme_flavor_names">
|
||||
<item>Sunset/Sunrise</item>
|
||||
<item>Night</item>
|
||||
<item>Day</item>
|
||||
<item>Dark</item>
|
||||
<item>Light</item>
|
||||
<item>Automatic at sunset</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_browser_settings">Browser</string>
|
||||
|
|
|
|||
|
|
@ -105,14 +105,6 @@
|
|||
|
||||
</style>
|
||||
|
||||
<style name="Remin" parent="ReminBase"/>
|
||||
<style name="ReminBase" parent="AppThemeBase">
|
||||
<item name="colorAccent">#e5ac00</item>
|
||||
<item name="colorButtonNormal">#e8c14e</item>
|
||||
<item name="tab_icon_selected_tint">#e2b62f</item>
|
||||
<item name="compose_hide_media_button_selected_color">#f4c842</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.ImageButton.Light" parent="Widget.AppCompat.Button.Borderless.Colored">
|
||||
<item name="android:tint">@color/image_button_light</item>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue