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.
This commit is contained in:
Tomi Ollila 2020-12-20 22:04:23 +02:00 committed by David Bremner
parent c4cce82fa0
commit a12bf2a52a

View file

@ -370,9 +370,11 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>
border-bottom-right-radius: {border_radius}; border-bottom-right-radius: {border_radius};
}} }}
tbody:nth-child(4n+1) tr td {{ tbody:nth-child(4n+1) tr td {{
color: #000;
background-color: #ffd96e; background-color: #ffd96e;
}} }}
tbody:nth-child(4n+3) tr td {{ tbody:nth-child(4n+3) tr td {{
color: #000;
background-color: #bce; background-color: #bce;
}} }}
hr {{ hr {{