aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_errors.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 18:16:18 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 18:16:18 +0200
commit631a549f2b72b8c278658ef834b49ad785e7ea59 (patch)
treec13870fc17f761f08185b0f1202f66268f452bc6 /plugins/mod_http_errors.lua
parent6e982fc011373f7f2bd55e318efee5aba41ef97e (diff)
downloadprosody-631a549f2b72b8c278658ef834b49ad785e7ea59.tar.gz
prosody-631a549f2b72b8c278658ef834b49ad785e7ea59.zip
mod_http_errors: Dark theme!
Diffstat (limited to 'plugins/mod_http_errors.lua')
-rw-r--r--plugins/mod_http_errors.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index 1abdc57e..727b2516 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -45,6 +45,13 @@ p.extra {
font-size : large;
font-family : courier
}
+
+@media(prefers-color-scheme: dark) {
+ body {
+ background-color: #161616;
+ color: #eee
+ }
+}
</style>
</head>
<body>