mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
refactor(display): easy custom background color
This commit is contained in:
@@ -10,6 +10,10 @@ templ indexTemplate() {
|
|||||||
<script src="/static/htmx.min.js"></script>
|
<script src="/static/htmx.min.js"></script>
|
||||||
<script src="/static/htmx-ext-sse.min.js"></script>
|
<script src="/static/htmx-ext-sse.min.js"></script>
|
||||||
<style>
|
<style>
|
||||||
|
:root {
|
||||||
|
--background-color: hsl(256, 10%, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center; /* centers horizontally */
|
justify-content: center; /* centers horizontally */
|
||||||
@@ -19,7 +23,7 @@ templ indexTemplate() {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: hsl(256, 10%, 10%);
|
background-color: var(--background-color);
|
||||||
color: hsl(256, 90%, 95%);
|
color: hsl(256, 90%, 95%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user