Skip to content

A self-hosted media server and file management system

fix: over-use of shadows

aminnausinb36807c51b37
diff --git a/resources/js/components/cedar-ui/button-nav/NavButton.vue b/resources/js/components/cedar-ui/button-nav/NavButton.vue
index c5f7159d..293c374e 100644
--- a/resources/js/components/cedar-ui/button-nav/NavButton.vue
+++ b/resources/js/components/cedar-ui/button-nav/NavButton.vue
@@ -18,7 +18,7 @@ const props = defineProps<{
'ring-primary dark:bg-primary-active hocus:ring-primary/70 ring-2 ring-inset dark:ring-0': active,
'hocus:bg-foreground-4-hover bg-surface-2 hover:ring-0': !active,
},
- 'dark:hocus:bg-primary-dark focus:bg-surface-2 size-8 shrink-0 rounded-lg shadow-lg',
+ 'dark:hocus:bg-primary-dark focus:bg-surface-2 size-8 shrink-0 rounded-lg shadow-sm',
)
"
:title="label"
diff --git a/resources/js/components/cedar-ui/button-nav/NavLink.vue b/resources/js/components/cedar-ui/button-nav/NavLink.vue
index ff37073c..006e9956 100644
--- a/resources/js/components/cedar-ui/button-nav/NavLink.vue
+++ b/resources/js/components/cedar-ui/button-nav/NavLink.vue
@@ -17,7 +17,7 @@ const props = defineProps<{
:to="url"
:href="href"
:variant="'transparent'"
- :class="cn('hocus:bg-foreground-4-hover hocus:dark:bg-primary-dark hover:ring-primary bg-surface-2 size-8 shrink-0 rounded-lg shadow-lg dark:hover:ring-0', {})"
+ :class="cn('hocus:bg-foreground-4-hover hocus:dark:bg-primary-dark hover:ring-primary bg-surface-2 size-8 shrink-0 rounded-lg shadow-sm dark:hover:ring-0', {})"
:title="label"
>
<slot></slot>
diff --git a/resources/js/components/panels/NavBar.vue b/resources/js/components/panels/NavBar.vue
index 59e03b7f..c6934672 100755
--- a/resources/js/components/panels/NavBar.vue
+++ b/resources/js/components/panels/NavBar.vue
@@ -88,7 +88,7 @@ const toggleLeftSidebar = (sidebar: 'dashboard' | 'settings') => {
<img
:src="userData?.avatar ?? '/storage/avatars/default.jpg'"
- class="ring-primary-active aspect-square h-7 w-7 rounded-full object-cover ring"
+ class="ring-primary-active aspect-square size-7 rounded-full object-cover shadow-sm ring"
alt="profile"
/>
</button>
@@ -145,7 +145,7 @@ const toggleLeftSidebar = (sidebar: 'dashboard' | 'settings') => {
<CircumMonitor height="24" width="24" />
</NavLink>
</span>
- <ToggleLightMode class="dark:hover:border-primary w-[68px] border border-gray-900/5 shadow-lg" />
+ <ToggleLightMode class="dark:hover:border-primary w-[68px] border border-gray-900/5 shadow-sm" />
</div>
<hr class="block w-full shrink-0" />
</nav>