]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: Enable dark mode on stat web page
authorThierry Fournier <thierry.fournier@ozon.io>
Thu, 23 Sep 2021 21:59:49 +0000 (23:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Sep 2021 06:27:40 +0000 (08:27 +0200)
commite9ed63e5480b4eda22f9cc197c84164b0e2ecdb0
treeac0e1c1b3911a2fa6918f2807888a13fbaab7e93
parent9a006f9641ceb353c007f8f7e8ae949ace786099
MINOR: stats: Enable dark mode on stat web page

According with the W3 CSS specification, media queries 5 allow
the browser to enable some CSS when dark mode is enabled. This
patch defines dark mode CSS for the stats page.

https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme
src/stats.c