From ed85557cf3031184a6bb9176c1371b2ac17723dc Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 1 May 2022 22:25:15 +0200 Subject: [PATCH] fix: dark mode for user and team settings --- src/styles/custom-properties/colors.scss | 6 ++++++ src/views/teams/ListTeams.vue | 2 +- src/views/user/Settings.vue | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/styles/custom-properties/colors.scss b/src/styles/custom-properties/colors.scss index ac186444..29e254d3 100644 --- a/src/styles/custom-properties/colors.scss +++ b/src/styles/custom-properties/colors.scss @@ -300,5 +300,11 @@ --primary-h: 217deg; --primary-s: 98%; --primary-l: 58%; + + --scheme-main-bis: var(--grey-100); + --scheme-main-ter: var(--grey-100); + --scheme-invert: var(--grey-900); + --scheme-invert-bis: var(--grey-900); + --scheme-invert-ter: var(--grey-800); } } \ No newline at end of file diff --git a/src/views/teams/ListTeams.vue b/src/views/teams/ListTeams.vue index 5fe2d035..f8d0b3e0 100644 --- a/src/views/teams/ListTeams.vue +++ b/src/views/teams/ListTeams.vue @@ -63,7 +63,7 @@ ul.teams { border-bottom: 1px solid $border; a { - color: #363636; + color: var(--text); display: block; padding: 0.5rem 1rem; transition: background-color $transition; diff --git a/src/views/user/Settings.vue b/src/views/user/Settings.vue index 1b7bb566..960f2914 100644 --- a/src/views/user/Settings.vue +++ b/src/views/user/Settings.vue @@ -83,7 +83,7 @@ const isLocalUser = computed(() => store.state.auth.info?.isLocalUser) a { display: block; padding: .5rem; - color: var(--dark); + color: var(--text); width: 100%; border-left: 3px solid transparent;