From 747c0a1bc8d6767f59d2426f248ffe5bcc3ec0e6 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 10 Mar 2024 23:36:37 -0300 Subject: [PATCH] style: add edge glow effect in some dialogs --- src/components/Dock/Dock.vue | 4 ++-- src/components/Settings/Settings.vue | 14 ++++++++++---- .../Settings/components/ChildSettingsDialog.vue | 7 +++++-- src/styles/variables.scss | 6 ++++++ 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/src/components/Dock/Dock.vue b/src/components/Dock/Dock.vue index e0b18388..ce2f2b6c 100644 --- a/src/components/Dock/Dock.vue +++ b/src/components/Dock/Dock.vue @@ -312,7 +312,7 @@ function toggleDockHide(hide: boolean) { hover:bg-$bew-fill-3 dark-hover:bg-$bew-fill-3 hover:scale-110 active:important-scale-100; - box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08); + box-shadow: var(--bew-shadow-edge-glow-1), 0 4px 12px rgba(0, 0, 0, 0.08); &.active { --at-apply: bg-$bew-theme-color-auto text-$bew-text-auto @@ -326,6 +326,6 @@ function toggleDockHide(hide: boolean) { } .dark .dock-item { - box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08); + box-shadow: var(--bew-shadow-edge-glow-1), 0 4px 12px rgba(0, 0, 0, 0.08); } diff --git a/src/components/Settings/Settings.vue b/src/components/Settings/Settings.vue index 45920b40..e706a537 100644 --- a/src/components/Settings/Settings.vue +++ b/src/components/Settings/Settings.vue @@ -124,8 +124,11 @@ function setCurrentTitle() { shrink-0 p="x-4" pos="absolute left--84px" z-2 >