Skip to content

A self-hosted media server and file management system

fix: toggle focus outline is hard to see

aminnausin1bd6be9fcf18
diff --git a/resources/js/components/inputs/ToggleBase.vue b/resources/js/components/inputs/ToggleBase.vue
index b9c26030..1affadd8 100755
--- a/resources/js/components/inputs/ToggleBase.vue
+++ b/resources/js/components/inputs/ToggleBase.vue
@@ -21,7 +21,7 @@ const props = withDefaults(defineProps<ToggleProps>(), { name: 'toggle', knobHor
'focus-within:bg-primary-dark-600 focus-within:has-[input:checked]:bg-primary-800',
'@container relative inline-flex h-8 w-16 cursor-pointer items-center rounded-lg',
'border-primary-dark-800 bg-primary-dark-800 border-2 transition-colors duration-(--duration-input) has-checked:bg-white',
- 'outline-foreground-0 focus-within:outline',
+ 'focus-within:border-primary!',
props.class,
)
"