themes code cleanup
This commit is contained in:
parent
38121ba796
commit
a8146dab60
12 changed files with 137 additions and 100 deletions
|
|
@ -3,6 +3,10 @@
|
|||
What colors look good together: https://www.canva.com/colors/color-wheel/
|
||||
-->
|
||||
<resources>
|
||||
<!--*******************************************
|
||||
Keyboard
|
||||
*******************************************-->
|
||||
|
||||
<color name="keyboard_background">#e8eaed</color>
|
||||
<color name="keyboard_text_color">#3d3d3f</color>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="TTheme" parent="Theme.MaterialComponents.DayNight" />
|
||||
<style name="TTheme.Preferences" parent="Theme.AppCompat.DayNight" />
|
||||
|
||||
|
||||
<style name="TTheme.AddWord" parent="Theme.AppCompat.Dialog.Alert">
|
||||
<style name="TTheme.AddWord" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="windowNoTitle">true</item> <!-- hide some weird floating rectangle above the dialog -->
|
||||
</style>
|
||||
|
||||
<style name="TTheme.Preferences" parent="Theme.AppCompat.DayNight" />
|
||||
|
||||
<style name="TTheme.Keyboard">
|
||||
<style name="TTheme.Keyboard" parent="TTheme">
|
||||
<item name="android:background">@color/keyboard_background</item>
|
||||
</style>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue