mirror of https://github.com/nealey/vail.git
Add dark mode (fixes #46)
This commit is contained in:
parent
dc918b983a
commit
ad49793bc8
|
@ -0,0 +1,18 @@
|
|||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.box {
|
||||
color: #eee; /* Make this darker to make the on-screen lighter. I don't know why. */
|
||||
}
|
||||
|
||||
.button.is-primary {
|
||||
background-color: #096;
|
||||
}
|
||||
|
||||
input[type=range] {
|
||||
accent-color: #096;
|
||||
}
|
||||
}
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue