Skip to content

A self-hosted media server and file management system

fix: nav button outlines dont match ring colours

aminnausinf412f521711f
diff --git a/resources/js/components/cedar-ui/button-nav/NavButton.vue b/resources/js/components/cedar-ui/button-nav/NavButton.vue
index 293c374e..bce93335 100644
--- a/resources/js/components/cedar-ui/button-nav/NavButton.vue
+++ b/resources/js/components/cedar-ui/button-nav/NavButton.vue
@@ -15,10 +15,10 @@ const props = defineProps<{
:class="
cn(
{
- 'ring-primary dark:bg-primary-active hocus:ring-primary/70 ring-2 ring-inset dark:ring-0': active,
+ 'ring-primary dark:bg-primary-active hocus:ring-primary/70 outline-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-sm',
+ 'dark:hocus:bg-primary-dark focus:bg-surface-2 outline-primary 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 5cee2b3d..f9db7e3d 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="'ghost'"
- :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')"
+ :class="cn('hocus:bg-foreground-4-hover hocus:dark:bg-primary-dark hover:ring-primary bg-surface-2 outline-primary size-8 shrink-0 rounded-lg shadow-sm dark:hover:ring-0')"
:title="label"
>
<slot></slot>