From a12bf2a52a560cc27503add26e9c3087929b60ec Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sun, 20 Dec 2020 22:04:23 +0200 Subject: [PATCH] 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. --- devel/nmbug/notmuch-report | 2 ++ 1 file changed, 2 insertions(+) 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 {{ -- 2.43.0