aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2020-12-20 22:04:23 +0200
committerDavid Bremner <david@tethera.net>2021-01-09 11:29:07 -0400
commita12bf2a52a560cc27503add26e9c3087929b60ec (patch)
tree00be21e6623687f6ea34cc716806344e177634f7
parentc4cce82fa0d061768484f4d2854d30235806b7b4 (diff)
nmbug: notmuch-report: set both background and foreground colors
Whenever setting background color, set also corresponding foreground color. Don't expect default foreground color to be #000 (or something close); user may have changed it.
-rwxr-xr-xdevel/nmbug/notmuch-report2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/nmbug/notmuch-report b/devel/nmbug/notmuch-report
index 18a0bc70..9a6a31cc 100755
--- a/devel/nmbug/notmuch-report
+++ b/devel/nmbug/notmuch-report
@@ -370,9 +370,11 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
border-bottom-right-radius: {border_radius};
}}
tbody:nth-child(4n+1) tr td {{
+ color: #000;
background-color: #ffd96e;
}}
tbody:nth-child(4n+3) tr td {{
+ color: #000;
background-color: #bce;
}}
hr {{