From 5340dd9c3ac0e0e050638e4459c7571ea2bc842c Mon Sep 17 00:00:00 2001 From: Yue JIN Date: Thu, 28 Sep 2023 18:06:59 +0800 Subject: [PATCH] style: apply md3 blueprint --- src/assets/styles/_global.scss | 4 ++++ src/components/layout/AppDrawer.vue | 24 +++++++++++++++++------ src/components/layout/AppNotification.vue | 1 + src/components/layout/ButtonSettings.vue | 1 + src/pages/dashboard.vue | 2 +- src/plugins/vuetify.ts | 13 ++++++++++++ 6 files changed, 38 insertions(+), 7 deletions(-) diff --git a/src/assets/styles/_global.scss b/src/assets/styles/_global.scss index 8fc9622..576234e 100644 --- a/src/assets/styles/_global.scss +++ b/src/assets/styles/_global.scss @@ -18,3 +18,7 @@ html { .v-overlay__content > .v-card { overflow-y: overlay !important; } + +.v-btn { + text-transform: initial; +} diff --git a/src/components/layout/AppDrawer.vue b/src/components/layout/AppDrawer.vue index 86800c2..51ba20d 100644 --- a/src/components/layout/AppDrawer.vue +++ b/src/components/layout/AppDrawer.vue @@ -21,7 +21,7 @@ const rail = computed(() => !drawerStored.value && !mobile.value) const gradient = computed(() => useTheme().current.value.dark ? 'to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, .7)' - : 'to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .7)', + : 'to bottom, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, .8) 80%, rgba(255, 255, 255, 1) 100%', ) routes.sort((a, b) => (a.meta?.drawerIndex ?? 99) - (b.meta?.drawerIndex ?? 98)) @@ -57,7 +57,10 @@ nextTick(() => { color="primary" /> - + Vitify Admin @@ -70,18 +73,18 @@ nextTick(() => {