# HG changeset patch # User Kim Alvefur # Date 1602519378 -7200 # Node ID dd81a318a794dcd496a7e0ba2284e50dac4f56fd # Parent e4075ca84a1a894622de92558f3cb823707d14dd mod_http_errors: Dark theme! diff -r e4075ca84a1a -r dd81a318a794 plugins/mod_http_errors.lua --- a/plugins/mod_http_errors.lua Mon Oct 12 18:13:20 2020 +0200 +++ b/plugins/mod_http_errors.lua Mon Oct 12 18:16:18 2020 +0200 @@ -45,6 +45,13 @@ font-size : large; font-family : courier } + +@media(prefers-color-scheme: dark) { + body { + background-color: #161616; + color: #eee + } +}