From: Tomi Ollila Date: Sun, 20 Dec 2020 20:04:23 +0000 (+0200) Subject: nmbug: notmuch-report: set both background and foreground colors X-Git-Tag: 0.32_rc0~163 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=a12bf2a52a560cc27503add26e9c3087929b60ec 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. --- 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', ''' 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 {{