Skip to content

Commit 6b9a6ae

Browse files
authored
feat: add border to switch styles (#680)
1 parent 3c45edb commit 6b9a6ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Settings/Toggle.client.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const checked = defineModel<boolean>({
2121
{{ label }}
2222
</span>
2323
<span
24-
class="relative inline-flex h-6 w-11 shrink-0 items-center rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out motion-reduce:transition-none shadow-sm cursor-pointer"
25-
:class="checked ? 'bg-accent' : 'bg-bg border border-border'"
24+
class="relative inline-flex h-6 w-11 shrink-0 items-center rounded-full border-2 transition-colors duration-200 ease-in-out motion-reduce:transition-none cursor-pointer"
25+
:class="checked ? 'bg-accent border-transparent shadow-sm' : 'bg-bg border border-border'"
2626
aria-hidden="true"
2727
>
2828
<span

0 commit comments

Comments
 (0)