diff --git a/public/bg-d.png b/public/bg-d.png new file mode 100644 index 00000000..1edbed1e Binary files /dev/null and b/public/bg-d.png differ diff --git a/public/bg-l.png b/public/bg-l.png new file mode 100644 index 00000000..9a1d3c56 Binary files /dev/null and b/public/bg-l.png differ diff --git a/src/components/DrawerComponent.vue b/src/components/DrawerComponent.vue index 2c01171e..e4b7c72d 100644 --- a/src/components/DrawerComponent.vue +++ b/src/components/DrawerComponent.vue @@ -121,6 +121,7 @@ function branchSetting() {} side="left" :breakpoint="599" class="column justify-between no-wrap" + :class="{ dark: $q.dark.isActive }" :width="mini ? 80 : 256" show-if-above > @@ -254,7 +255,13 @@ function branchSetting() {} :deep(.q-drawer__content) { border-radius: var(--radius-2); - background: var(--surface-1); + background-color: rgba(255, 255, 255, 0.5); + backdrop-filter: blur(11.2px); + -webkit-backdrop-filter: blur(11.2px); + + &.dark { + background-color: hsla(var(--gray-10-hsl) / 0.5); + } } .dot { diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 602bf8c3..946cd9fb 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -178,7 +178,12 @@ onMounted(async () => {