From 0ac764778d4d131f652a6a8539d923fbf24512c4 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 24 Oct 2020 17:15:55 -0400 Subject: [PATCH] Dark Mode - Add dark mode toggle button to navbar - Parameterize colors in styles.css - Add dark mode button javascript --- src/about.html | 2 +- src/blog.html | 2 +- src/blog_docker.html | 2 +- src/common/navbar.html | 9 ++++++- src/common/navbar.txt | 2 +- src/documentation.html | 2 +- src/index.html | 2 +- src/personal.html | 2 +- src/portfolio.html | 2 +- src/scripts/dark-mode-switch.min.js | 28 ++++++++++++++++++++++ src/style/styles.css | 37 ++++++++++++++++++++++------- 11 files changed, 73 insertions(+), 17 deletions(-) create mode 100644 src/scripts/dark-mode-switch.min.js diff --git a/src/about.html b/src/about.html index 429dc3f..9768609 100644 --- a/src/about.html +++ b/src/about.html @@ -1,5 +1,5 @@ - + diff --git a/src/common/navbar.txt b/src/common/navbar.txt index 85aa165..88ad5df 100644 --- a/src/common/navbar.txt +++ b/src/common/navbar.txt @@ -1 +1 @@ -document.write(' ') \ No newline at end of file +document.write(' ') \ No newline at end of file diff --git a/src/documentation.html b/src/documentation.html index 4d0525d..971e6d5 100644 --- a/src/documentation.html +++ b/src/documentation.html @@ -1,5 +1,5 @@ - +