diff --git a/static/dark.css b/static/dark.css new file mode 100644 index 0000000..21c92fc --- /dev/null +++ b/static/dark.css @@ -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; + } +} \ No newline at end of file diff --git a/static/index.html b/static/index.html index 3691c00..a7d987f 100644 --- a/static/index.html +++ b/static/index.html @@ -24,6 +24,7 @@ +