<div dir="ltr">You could add the following line which makes modern browsers use colors from their built-in dark color scheme:<br><br><meta name="color-scheme" content="light dark"><br><div><br></div><div><a href="https://web.dev/color-scheme/">https://web.dev/color-scheme/</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am So., 15. Aug. 2021 um 03:25 Uhr schrieb Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
On Sat, Aug 14, 2021 at 08:10:07AM -0700, Duncan Lock wrote:<br>
<br>
> # HG changeset patch<br>
> # User Duncan Lock <<a href="mailto:duncan.lock@gmail.com" target="_blank">duncan.lock@gmail.com</a>><br>
> # Date 1628952253 25200<br>
> # Sat Aug 14 07:44:13 2021 -0700<br>
> # Node ID 81294b370e774c792210904f710abc0a494c5c05<br>
> # Parent dda421871bc213dd2eb3da0015d6228839323583<br>
> Add support for dark color scheme in default index.html page<br>
> <br>
> Add a little CSS to index.html to support dark color schemes.<br>
> This will display the index page in dark colors if the user has<br>
> requested a dark color scheme in their system UI or browser, and<br>
> display the same as the previous version if not.<br>
> <br>
> See: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme" rel="noreferrer" target="_blank">https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme</a><br>
> <br>
> diff -r dda421871bc2 -r 81294b370e77 docs/html/index.html<br>
> --- a/docs/html/index.html Tue Aug 10 23:43:17 2021 +0300<br>
> +++ b/docs/html/index.html Sat Aug 14 07:44:13 2021 -0700<br>
> @@ -8,6 +8,15 @@<br>
> margin: 0 auto;<br>
> font-family: Tahoma, Verdana, Arial, sans-serif;<br>
> }<br>
> + @media (prefers-color-scheme: dark) {<br>
> + body {<br>
> + background-color: #363839;<br>
> + color: #d1cec9;<br>
> + }<br>
> + a {<br>
> + color: #c4c4ff;<br>
> + }<br>
> + }<br>
> </style><br>
> </head><br>
> <body><br>
<br>
Thank you for the patch. I don't think this is something we want <br>
to customize in the example pages such as index.html, especially <br>
given that we don't set other colors.<br>
<br>
-- <br>
Maxim Dounin<br>
<a href="http://mdounin.ru/" rel="noreferrer" target="_blank">http://mdounin.ru/</a><br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</blockquote></div>