From d28b684ee83b404ec0a0510b39bee903b72535a4 Mon Sep 17 00:00:00 2001
From: Anomalion <31505999+Anomalion@users.noreply.github.com>
Date: Mon, 9 May 2022 14:15:18 +0200
Subject: [PATCH 1/2] Create dark-theme.css
---
app/static/css/dark-theme.css | 90 +++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
create mode 100644 app/static/css/dark-theme.css
diff --git a/app/static/css/dark-theme.css b/app/static/css/dark-theme.css
new file mode 100644
index 0000000..9ff7523
--- /dev/null
+++ b/app/static/css/dark-theme.css
@@ -0,0 +1,90 @@
+@media (prefers-color-scheme: dark) {
+ .white {
+ background-color: #111 !important;
+ color: #fff;
+ }
+
+ .blue.darken-3 {
+ background-color: #1E5DA6 !important;
+ }
+
+
+ .btn-switch-type {
+ background-color: #333;
+ color: #5CA8FF;
+ }
+ .btn-switch-type:hover {
+ background-color: #444 !important;
+ color: #5CA8FF;
+ }
+
+ .btn-switch-type.active {
+ background-color: #3392FF !important;
+ color: #fff;
+ }
+ .btn-switch-type.active:hover {
+ background-color: #5CA8FF !important;
+ color: #fff;
+ }
+
+
+ select {
+ color: #fff;
+ }
+
+
+ textarea {
+ border: 1px solid #444 !important;
+ background-color: #222 !important;
+ color: #fff;
+ }
+
+ .code {
+ border: 1px solid #444;
+ background: #222;
+ color: #fff;
+ }
+ code[class*="language-"], pre[class*="language-"] {
+ color: #fff;
+ text-shadow: 0 1px #000;
+ }
+
+
+ .token.atrule,
+ .token.attr-value,
+ .token.keyword {
+ color: #40b5e8;
+ }
+
+ .language-css .token.string,
+ .style .token.string,
+ .token.entity,
+ .token.operator,
+ .token.url {
+ color: #eecfab;
+ background: hsla(0,0%,15%,.5);
+ }
+
+ .token.attr-name,
+ .token.builtin,
+ .token.char,
+ .token.inserted,
+ .token.selector,
+ .token.string {
+ color: #acd25f;
+ }
+
+ .token.boolean,
+ .token.constant,
+ .token.deleted,
+ .token.number,
+ .token.property,
+ .token.symbol,
+ .token.tag {
+ color: #ff8bcc;
+ }
+
+ .token.class-name, .token.function {
+ color: #ff7994;
+ }
+}
From 8eece0e984ed211fcfff04e04802d897505b6fa0 Mon Sep 17 00:00:00 2001
From: Anomalion <31505999+Anomalion@users.noreply.github.com>
Date: Tue, 10 May 2022 11:57:47 +0200
Subject: [PATCH 2/2] Include `dark-theme.css`
---
app/templates/index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/templates/index.html b/app/templates/index.html
index 81f1bbd..8862ec5 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -20,6 +20,7 @@
+
{% if gaId %}