From c11a2a5419343983c06e97c641e7a14acca01006 Mon Sep 17 00:00:00 2001 From: kwicxy Date: Thu, 29 May 2025 09:00:27 +0800 Subject: [PATCH] feat: Login page darkened --- dashboard/src/theme/LightTheme.ts | 2 +- .../views/authentication/auth/LoginPage.vue | 35 +++++++++++++++++-- .../authentication/authForms/AuthLogin.vue | 4 +-- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/dashboard/src/theme/LightTheme.ts b/dashboard/src/theme/LightTheme.ts index 2da11204..35aa1339 100644 --- a/dashboard/src/theme/LightTheme.ts +++ b/dashboard/src/theme/LightTheme.ts @@ -36,7 +36,7 @@ const PurpleTheme: ThemeTypes = { gray100: '#fafafacc', primary200: '#90caf9', secondary200: '#b39ddb', - background: '#f9fafc', + background: '#f9fafcf4', overlay: '#ffffffaa', codeBg: '#f5f0ff', code: '#673ab7' diff --git a/dashboard/src/views/authentication/auth/LoginPage.vue b/dashboard/src/views/authentication/auth/LoginPage.vue index 4bcefe07..d6c99f89 100644 --- a/dashboard/src/views/authentication/auth/LoginPage.vue +++ b/dashboard/src/views/authentication/auth/LoginPage.vue @@ -4,6 +4,7 @@ import Logo from '@/components/shared/Logo.vue'; import { onMounted, ref } from 'vue'; import { useAuthStore } from '@/stores/auth'; import { useRouter } from 'vue-router'; +import {useCustomizerStore} from "@/stores/customizer"; const cardVisible = ref(false); const router = useRouter(); @@ -24,7 +25,7 @@ onMounted(() => {