summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail/listing.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-01-27 17:33:35 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-01-27 17:35:13 +0200
commitf15e569627ca7d94b01eecee0a8b2b04dd75d58f (patch)
tree99e9ab5b0f15c9854d4d9c24f95a35f0d41733b8 /ui/src/components/mail/listing.rs
parent5dc477bcd59d22ee8636d51cda8893dd6a1cf429 (diff)
ui/themes: add status.{bar,notification} and theme_default keys
- theme_default replaces general for all default colors/attributes - add status.{bar,notification} support
Diffstat (limited to 'ui/src/components/mail/listing.rs')
-rw-r--r--ui/src/components/mail/listing.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/components/mail/listing.rs b/ui/src/components/mail/listing.rs
index 50bd3370..2e58a9f5 100644
--- a/ui/src/components/mail/listing.rs
+++ b/ui/src/components/mail/listing.rs
@@ -46,6 +46,8 @@ pub struct DataColumns {
#[derive(Debug, Default)]
/// Save theme colors to avoid looking them up again and again from settings
struct ColorCache {
+ theme_default: ThemeAttribute,
+
unseen: ThemeAttribute,
highlighted: ThemeAttribute,
even: ThemeAttribute,
@@ -55,7 +57,6 @@ struct ColorCache {
thread_snooze_flag: ThemeAttribute,
/* Conversations */
- general: ThemeAttribute,
subject: ThemeAttribute,
from: ThemeAttribute,
date: ThemeAttribute,