diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-27 17:59:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-27 18:00:00 +0200 |
commit | b072130e370c6d12cb4fe89ef6dd1bf318fb9f7a (patch) | |
tree | bb323793042e2c9b41e72d12834627309781401f /ui/src/main | |
parent | 54dfa7bdd79f4d848bd5ed741bc2604c738fb150 (diff) |
ui: add list selection backgrounds
Harsh - feel free to replace this commit with something better. I'm sure
it's the most terrible way to do it.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main')
-rw-r--r-- | ui/src/main/res/values-night/themes.xml | 1 | ||||
-rw-r--r-- | ui/src/main/res/values/colors.xml | 2 | ||||
-rw-r--r-- | ui/src/main/res/values/themes.xml | 1 | ||||
-rw-r--r-- | ui/src/main/res/values/tv_colors.xml | 1 | ||||
-rw-r--r-- | ui/src/main/res/values/tv_styles.xml | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/ui/src/main/res/values-night/themes.xml b/ui/src/main/res/values-night/themes.xml index 9187e48a..a2d5022a 100644 --- a/ui/src/main/res/values-night/themes.xml +++ b/ui/src/main/res/values-night/themes.xml @@ -27,5 +27,6 @@ <item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item> <item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item> <item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item> + <item name="colorMultiselectActiveBackground">@color/md_theme_dark_surfaceVariant</item> </style> </resources> diff --git a/ui/src/main/res/values/colors.xml b/ui/src/main/res/values/colors.xml index 41dee2fa..052e2a46 100644 --- a/ui/src/main/res/values/colors.xml +++ b/ui/src/main/res/values/colors.xml @@ -61,8 +61,6 @@ <color name="md_theme_dark_outlineVariant">#44474F</color> <color name="md_theme_dark_scrim">#000000</color> - <color name="list_multiselect_background">#ffeeeeee</color> - <!-- Log viewer tag colors --> <color name="debug_tag_color">#444444</color> <color name="error_tag_color">#aa0000</color> diff --git a/ui/src/main/res/values/themes.xml b/ui/src/main/res/values/themes.xml index e8d36cdd..aa937b87 100644 --- a/ui/src/main/res/values/themes.xml +++ b/ui/src/main/res/values/themes.xml @@ -27,5 +27,6 @@ <item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item> <item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item> <item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item> + <item name="colorMultiselectActiveBackground">@color/md_theme_light_surfaceVariant</item> </style> </resources> diff --git a/ui/src/main/res/values/tv_colors.xml b/ui/src/main/res/values/tv_colors.xml index 40fb45a0..dc4e6a01 100644 --- a/ui/src/main/res/values/tv_colors.xml +++ b/ui/src/main/res/values/tv_colors.xml @@ -4,4 +4,5 @@ <color name="tv_secondary_dark_color">#ff0059c1</color> <color name="tv_card_background">@color/tv_primary_color</color> <color name="tv_card_delete_background">#b00020</color> + <color name="tv_list_multiselect_background">#ffeeeeee</color> </resources> diff --git a/ui/src/main/res/values/tv_styles.xml b/ui/src/main/res/values/tv_styles.xml index a78f2d63..0faa6184 100644 --- a/ui/src/main/res/values/tv_styles.xml +++ b/ui/src/main/res/values/tv_styles.xml @@ -10,7 +10,7 @@ <item name="colorOnSecondary">#ff0059c1</item> <item name="colorSurface">@color/tv_primary_color</item> <item name="colorOnSurface">#fffafafa</item> - <item name="colorMultiselectActiveBackground">@color/list_multiselect_background</item> + <item name="colorMultiselectActiveBackground">@color/tv_list_multiselect_background</item> <item name="colorControlNormal">#fffafafa</item> <item name="elevationOverlayEnabled">false</item> <item name="android:statusBarColor">@color/tv_primary_color</item> |