diff --git a/src/mod_dirlisting.c b/src/mod_dirlisting.c index 2686cd3e4..5ce53ff49 100644 --- a/src/mod_dirlisting.c +++ b/src/mod_dirlisting.c @@ -953,7 +953,14 @@ static void http_list_directory_header(request_st * const r, const handler_ctx * " color: #787878;" " padding-top: 4px;" "}\n" + "@media (prefers-color-scheme: dark) {\n" + " a, a:active {color: #9E9EFF;}\n" + " a:visited {color: #D0ADF0;}\n" + " div.foot {color: #878787;}\n" + " body, div.list {background-color: transparent;}\n" + "}\n" "\n" + "\n" )); }