hgweb: ensure both foreground and background colors are specified (issue4872)
When users configure the default foreground or background color to non-default (black on white) values, several hgweb styles lack contrast for headers and table row items. This patch fixes that by ensuring that where either foreground or background colors are specified, both are specified.
Showing
- mercurial/templates/static/style-gitweb.css 1 addition, 1 deletionmercurial/templates/static/style-gitweb.css
- mercurial/templates/static/style-paper.css 1 addition, 0 deletionsmercurial/templates/static/style-paper.css
- mercurial/templates/static/style.css 2 additions, 2 deletionsmercurial/templates/static/style.css
- tests/test-hgweb-commands.t 2 additions, 2 deletionstests/test-hgweb-commands.t
- tests/test-hgweb.t 2 additions, 2 deletionstests/test-hgweb.t
Loading
Please register or sign in to comment