From 062b057b22ce7f738e09e4fbdbf5f680ac90f4d2 Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 31 Jul 2023 23:15:58 -0500 Subject: [PATCH 1/2] feat: implement dark mode --- index.html | 2 +- src/App.vue | 2 ++ src/components/ProgressBar.vue | 2 +- src/components/SettingsPage.vue | 37 ++++++++++++++++++++------------- src/components/SlideArrows.vue | 8 +++++-- src/components/SlidesPage.vue | 4 ++-- src/css/index.css | 13 ++++++++++++ src/css/typography.css | 10 ++++++--- src/enums/visualMode.ts | 14 +++++++++++++ src/utils/handleVisualMode.ts | 20 ++++++++++++++++++ tailwind.config.cjs | 3 ++- 11 files changed, 90 insertions(+), 25 deletions(-) create mode 100644 src/enums/visualMode.ts create mode 100644 src/utils/handleVisualMode.ts diff --git a/index.html b/index.html index cf180b0..f7447bb 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ -
+
diff --git a/src/App.vue b/src/App.vue index 1eb7004..34aa5cc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,7 @@