summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-01-11 21:54:11 +0100
committertv <tv@shackspace.de>2015-01-11 21:54:11 +0100
commita3e49d9d5268974080ea1ef1ec4c0dce56d7a833 (patch)
treeb0ff111edeaf9823b8892c73abbf1ff0dd1cb5ef
parent5273db3d5c21cd4ef331df57e09c58c93bcc3f46 (diff)
colorize "draft" tag
-rw-r--r--RenderTreeView.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/RenderTreeView.hs b/RenderTreeView.hs
index 288764f..3926282 100644
--- a/RenderTreeView.hs
+++ b/RenderTreeView.hs
@@ -124,6 +124,7 @@ dateSGR = SGR [38,5,071]
tagsSGR = SGR [38,5,036]
killedTagSGR = SGR [38,5,088]
starTagSGR = SGR [38,5,226]
+draftTagSGR = SGR [38,5,202]
boringMessageSGR = SGR [38,5,023]
unreadMessageSGR = SGR [38,5,117]
@@ -211,6 +212,7 @@ renderTags =
renderTag :: Tag -> Trammel String
renderTag tag = case tag of
+ "draft" -> draftTagSGR plain
"killed" -> killedTagSGR plain
"star" -> starTagSGR plain
_ -> plain