From b3cf2be29e4e75187995060e38567c79680043c0 Mon Sep 17 00:00:00 2001 From: Ansh Agrawal Date: Thu, 29 Aug 2024 13:29:24 -0400 Subject: [PATCH] Implement CSS dark mode --- tin/static/css/dark/base.css | 27 +++++++++++++++++++++++++++ tin/static/css/dark/edit.css | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 tin/static/css/dark/base.css create mode 100644 tin/static/css/dark/edit.css diff --git a/tin/static/css/dark/base.css b/tin/static/css/dark/base.css new file mode 100644 index 00000000..3abdc90f --- /dev/null +++ b/tin/static/css/dark/base.css @@ -0,0 +1,27 @@ +#nav { + color: white; + background: #4fab4f; +} + +body { + background-color: #182c25; +} + +#footer { + background-color: #182c25; + border-top: #182c25; + color: white; +} + +#main { + color: white; +} + +ul#course-list > li a:not(.tin-btn), +ul#assignment-list > li a { + color: white; +} + +a:not(.tin-btn) { + color: white; +} diff --git a/tin/static/css/dark/edit.css b/tin/static/css/dark/edit.css new file mode 100644 index 00000000..7dbe4021 --- /dev/null +++ b/tin/static/css/dark/edit.css @@ -0,0 +1,3 @@ +.content .field { + color: black; +}