diff --git a/frontend/public/index.html b/frontend/public/index.html index e2ce12fe..42895747 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -37,6 +37,17 @@ loadTrackingScripts() + diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f6189b38..d27b14cf 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -20,7 +20,7 @@
.v-input__control > .v-input__slot { - filter: drop-shadow(0 0.5px 2px rgba(0, 0, 0, 0.1)) !important; - box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1) !important; + filter: drop-shadow(0 0.5px 2px var(--color-shadow-light)) !important; + box-shadow: inset 0 -1px 0 0 var(--color-shadow-light) !important; border-radius: theme("borderRadius.md") !important; - border: 1px solid #4f4f4f1f !important; + border: 1px solid var(--color-input-border) !important; } .v-menu__content { box-shadow: 0px 5px 5px -1px rgba(0, 0, 0, 0.1), @@ -236,6 +237,7 @@ import { signInOutlook, isPremiumUser, } from "@/utils" +import { getDarkModePreference, applyDarkMode } from "@/utils/dark_mode" import { authTypes, calendarTypes, @@ -410,6 +412,8 @@ export default { }, async created() { + applyDarkMode(this.$vuetify, getDarkModePreference()) + await get("/user/profile") .then((authUser) => { this.setAuthUser(authUser) diff --git a/frontend/src/components/AlertText.vue b/frontend/src/components/AlertText.vue index 079def90..eb42fb03 100644 --- a/frontend/src/components/AlertText.vue +++ b/frontend/src/components/AlertText.vue @@ -1,6 +1,6 @@