From 1b64dbee435c9f192a2169803db11e919420c4ee Mon Sep 17 00:00:00 2001 From: Marieke Date: Sat, 27 Apr 2024 16:05:30 +0200 Subject: [PATCH] theme + homescreen + login --- frontend/src/assets/base.scss | 2 +- frontend/src/components/ApolloHeader.vue | 6 ++++++ frontend/src/components/LocaleSwitcher.vue | 4 ++-- .../src/components/home/cards/HomeScreenCard.vue | 7 ++++--- .../components/home/listcontent/DeadlineItem.vue | 6 +++--- .../src/components/home/listcontent/SubjectItem.vue | 6 +++--- frontend/src/components/navigation/NavBar.vue | 2 +- frontend/src/components/navigation/NavButton.vue | 4 ++++ frontend/src/plugins/vuetify.ts | 8 +++++--- frontend/src/views/HomeScreenView.vue | 13 ++++++++++--- frontend/src/views/LoginView.vue | 11 ++++++----- 11 files changed, 45 insertions(+), 24 deletions(-) diff --git a/frontend/src/assets/base.scss b/frontend/src/assets/base.scss index deace0a4..84eca241 100644 --- a/frontend/src/assets/base.scss +++ b/frontend/src/assets/base.scss @@ -5,7 +5,7 @@ --color-primary-dark: color-mod(var(--color-primary) shade(15%)); --color-primary-bg: color-mod(var(--color-primary) alpha(30)); - --color-secondary: #dfe5f7; + --color-secondary: #EBEFFB; --color-accent: #ffd200; --color-accent-light: color-mod(var(--color-accent) tint(15%)); diff --git a/frontend/src/components/ApolloHeader.vue b/frontend/src/components/ApolloHeader.vue index 3587afb4..8c4387cf 100644 --- a/frontend/src/components/ApolloHeader.vue +++ b/frontend/src/components/ApolloHeader.vue @@ -41,6 +41,11 @@ const { isLoggedIn } = storeToRefs(useAuthStore()); .v-app-bar { padding: 5px 0px; } + +.v-app-bar-nav-icon{ + color: rgb(var(--v-theme-secondary)); +} + .leftContent { margin-left: auto; display: flex; @@ -49,5 +54,6 @@ const { isLoggedIn } = storeToRefs(useAuthStore()); .logout { margin-right: 15px; + color: rgb(var(--v-theme-secondary)); } diff --git a/frontend/src/components/LocaleSwitcher.vue b/frontend/src/components/LocaleSwitcher.vue index 68069109..05c86f35 100644 --- a/frontend/src/components/LocaleSwitcher.vue +++ b/frontend/src/components/LocaleSwitcher.vue @@ -29,7 +29,7 @@ function handleLocaleChange(selectedLocale: string) { diff --git a/frontend/src/components/home/cards/HomeScreenCard.vue b/frontend/src/components/home/cards/HomeScreenCard.vue index 4b56b374..de0f1cea 100644 --- a/frontend/src/components/home/cards/HomeScreenCard.vue +++ b/frontend/src/components/home/cards/HomeScreenCard.vue @@ -12,8 +12,9 @@ defineProps<{ diff --git a/frontend/src/components/home/listcontent/DeadlineItem.vue b/frontend/src/components/home/listcontent/DeadlineItem.vue index faaf51f1..ab9f7d88 100644 --- a/frontend/src/components/home/listcontent/DeadlineItem.vue +++ b/frontend/src/components/home/listcontent/DeadlineItem.vue @@ -51,17 +51,17 @@ const navigateToProject = () => {