summaryrefslogtreecommitdiff
path: root/alot/defaults
diff options
context:
space:
mode:
authordtk <dtk@gmx.de>2011-12-28 12:15:20 +0100
committerdtk <dtk@gmx.de>2012-01-02 18:04:01 +0100
commit411142db3c718f467759f234a5e767608d5d5465 (patch)
treea2ee02ec29eb8ba3a0a8aa7afc76ff72d42f811a /alot/defaults
parent9416053c45c57168e0a7ef47c731ad5fceccf4ef (diff)
Refine selection of default themeing for highlighting
The setting for config option `aaa_bbb_{component}_focus_{tag}_bg` doesn't fall back onto `aaa_bbb_{component}_focus_bg` because so far we only check if a config entry for `aaa_bbb_{component}_focus_{tag}_{fg|bg}` exists. If *one* of them exists (`fg OR bg`), we use that *combination*. If then the other entry does not exist, it falls back to `'default'`. This commit refines the fallback selection mechanism in that is tries recursively to select themeing for the parent option (`aaa_bbb_ccc_fg` => `aaa_bbb_fg`) before finally falling back to the default setting. Cf issue #25. Closes #208.
Diffstat (limited to 'alot/defaults')
-rw-r--r--alot/defaults/alot.rc19
1 files changed, 0 insertions, 19 deletions
diff --git a/alot/defaults/alot.rc b/alot/defaults/alot.rc
index bd53960e..fe55fdbd 100644
--- a/alot/defaults/alot.rc
+++ b/alot/defaults/alot.rc
@@ -229,15 +229,11 @@ bufferlist_results_odd_bg = default
bufferlist_results_odd_fg = default
search_thread_authors_bg = default
search_thread_authors_fg = #6d6
-search_thread_authors_unread_bg = default
search_thread_authors_unread_fg = #6d6,bold
-search_thread_authors_flagged_bg = default
search_thread_authors_flagged_fg = light red,bold
search_thread_authors_focus_bg = #68a
search_thread_authors_focus_fg = #8f6
-search_thread_authors_focus_unread_bg = #68a
search_thread_authors_focus_unread_fg = #8f6,bold
-search_thread_authors_focus_flagged_bg = #68a
search_thread_authors_focus_flagged_fg = light red
search_thread_bg = default
search_thread_content_bg = default
@@ -265,15 +261,11 @@ search_thread_mailcount_focus_flagged_bg = #68a
search_thread_mailcount_focus_flagged_fg = light red
search_thread_subject_bg = default
search_thread_subject_fg = g58
-search_thread_subject_unread_bg = default
search_thread_subject_unread_fg = g58,bold
-search_thread_subject_flagged_bg = default
search_thread_subject_flagged_fg = light red
search_thread_subject_focus_bg = #68a
search_thread_subject_focus_fg = g89
-search_thread_subject_focus_unread_bg = #68a
search_thread_subject_focus_unread_fg = g89,bold
-search_thread_subject_focus_flagged_bg = #68a
search_thread_subject_focus_flagged_fg = light red,bold
search_thread_tags_bg = default
search_thread_tags_fg = #a86
@@ -346,16 +338,9 @@ thread_summary_odd_bg = dark blue
thread_summary_odd_fg = white
search_thread_authors_bg = default
search_thread_authors_fg = dark green
-search_thread_authors_unread_bg = default
search_thread_authors_unread_fg = dark green,bold
-search_thread_authors_flagged_bg = default
-search_thread_authors_flagged_fg = dark green
search_thread_authors_focus_bg = dark gray
search_thread_authors_focus_fg = dark green,bold
-search_thread_authors_focus_unread_bg = dark gray
-search_thread_authors_focus_unread_fg = dark green,bold
-search_thread_authors_focus_flagged_bg = dark gray
-search_thread_authors_focus_flagged_fg = dark green,bold
search_thread_bg = default
search_thread_content_bg = default
search_thread_content_fg = dark gray
@@ -374,15 +359,11 @@ search_thread_mailcount_focus_bg = dark gray
search_thread_mailcount_focus_fg = light gray
search_thread_subject_bg = default
search_thread_subject_fg = light gray
-search_thread_subject_unread_bg = default
search_thread_subject_unread_fg = light gray,bold
-search_thread_subject_flagged_bg = default
search_thread_subject_flagged_fg = light red
search_thread_subject_focus_bg = dark gray
search_thread_subject_focus_fg = light gray
-search_thread_subject_focus_unread_bg = dark gray
search_thread_subject_focus_unread_fg = light gray,bold
-search_thread_subject_focus_flagged_bg = dark gray
search_thread_subject_focus_flagged_fg = light red,bold
search_thread_tags_bg = default
search_thread_tags_fg = brown