summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-10 17:05:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-10 17:05:46 +0200
commit92ff26ef1b3f01f8f2a9dcf5362075fadef2d4ab (patch)
tree0d9e744ad72b312b956eebf771e84e760d623eb2 /templates
parent15af905a2ec5a2ceefca1c650519168f65a7c22f (diff)
app template: fix body background color for dark mode
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index f2f4e37..42654b1 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -29,7 +29,7 @@
%= javascript "/static/${av}/js/geolocation.min.js", defer => undef
% }
</head>
-<body>
+<body style="<%= (param('dark') ? 'background-color: #000000; color: #ffffff;' : q{}) %>">
<div class="navbar-fixed">
<nav style="color: #ffffff; background-color: #00838f;">