refactor(display): easy custom background color

This commit is contained in:
2025-11-15 11:25:39 +01:00
parent c653538b31
commit 2499389c30
+5 -1
View File
@@ -10,6 +10,10 @@ templ indexTemplate() {
<script src="/static/htmx.min.js"></script>
<script src="/static/htmx-ext-sse.min.js"></script>
<style>
:root {
--background-color: hsl(256, 10%, 10%);
}
body {
display: flex;
justify-content: center; /* centers horizontally */
@@ -19,7 +23,7 @@ templ indexTemplate() {
margin: 0;
padding: 0;
overflow: hidden;
background-color: hsl(256, 10%, 10%);
background-color: var(--background-color);
color: hsl(256, 90%, 95%);
}