Compare commits

...

2 Commits

Author SHA1 Message Date
Neale Pickett f2302bff2a Real dark mode.
I had used the wrong debug control to test it :\
2023-01-06 14:20:01 -07:00
Neale Pickett ad49793bc8 Add dark mode (fixes #46) 2023-01-06 14:07:12 -07:00
2 changed files with 26 additions and 0 deletions

25
static/dark.css Normal file
View File

@ -0,0 +1,25 @@
@media (prefers-color-scheme: dark) {
html {
background-color: black;
}
.box {
background-color: #222;
}
.input, .button, .textarea, .select select {
background-color: #444;
}
html, .box, .title, .label, .input, .button, .textarea, .select select {
color: white;
}
.button.is-primary {
background-color: #086;
}
input[type=range] {
accent-color: #086;
}
}

View File

@ -24,6 +24,7 @@
<script type="module" src="scripts/vail.mjs"></script>
<script type="module" src="scripts/ui.mjs"></script>
<link rel="stylesheet" href="vail.css">
<link rel="stylesheet" href="dark.css">
</head>
<body>
<nav class="navbar is-dark">