[PATCH] hgweb: ensure both foreground and background colors are specified (issue4872)

Anton Shestakov engored at ya.ru
Thu Oct 8 00:15:53 CDT 2015


08.10.2015, 04:30, "Gijs Kruitbosch" <gijskruitbosch at gmail.com>:
> # HG changeset patch
> # User Gijs Kruitbosch <gijskruitbosch at gmail.com>
> # Date 1444248494 -3600
> # Wed Oct 07 21:08:14 2015 +0100
> # Node ID d9a07f86c2d9b910267bd18baeb1c884cb69309e
> # Parent 3f234db6fe8d7cc3d39083f7e7523444bc21e5a2
> hgweb: ensure both foreground and background colors are specified (issue4872)

Seems to work fine for paper/coal and gitweb, could you also take a look at spartan while at it?

> 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.


More information about the Mercurial-devel mailing list