From 521dae63dad92ba210a085ba2594ff368d0a8507 Mon Sep 17 00:00:00 2001 From: Jennifer Chen Date: Tue, 4 May 2021 08:10:20 -0700 Subject: [PATCH] Dark mode --- src/index.html | 2 + src/js/dark-mode-switch.js | 41 + .../components/Dashboard.jsx.js | 5 +- .../components/CollapsePanel.jsx.js | 20 +- .../components/SearchExamples.jsx.js | 7 +- .../widgets/associated/components/app.jsx.js | 7 +- src/js/widgets/classic_form/form.html | 2 +- .../templates/pagination-partial.html | 2 +- src/js/widgets/paper_search_form/form.html | 6 +- src/styles/img/dark-bg.jpg | Bin 0 -> 1610936 bytes src/styles/img/dark-bg.png | Bin 0 -> 976164 bytes .../sass/ads-sass/bootstrap-variables.scss | 38 + src/styles/sass/ads-sass/dark-mode.scss | 1582 +++++++++++++++++ src/styles/sass/ads-sass/navbar.scss | 5 +- .../sass/ads-sass/results-page-widgets.scss | 16 + src/styles/sass/ads-sass/utility.scss | 4 +- src/styles/sass/ads-sass/widget.scss | 6 + src/styles/sass/manifest.scss | 1 + 18 files changed, 1707 insertions(+), 37 deletions(-) create mode 100644 src/js/dark-mode-switch.js create mode 100644 src/styles/img/dark-bg.jpg create mode 100644 src/styles/img/dark-bg.png create mode 100644 src/styles/sass/ads-sass/dark-mode.scss diff --git a/src/index.html b/src/index.html index 109f27c5b..22143839f 100644 --- a/src/index.html +++ b/src/index.html @@ -107,6 +107,8 @@

+
🌓
+