Skip to content

Commit bee709d

Browse files
committed
Updated styling toggle
1 parent 0ae9968 commit bee709d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/views/components/toggle.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
{{ $attributes }} />
1717
<div class="{{ implode(' ', [
18-
'flex-shrink-0 h-6 w-10 inline-block relative border-none shadow-inner absolute inset-0 bg-[var(--input)] ring-0 ring-[color-mix(in_oklab,var(--primary)_25%,transparent)] ring-opacity-0 rounded-full cursor-pointer',
18+
'flex-shrink-0 h-6 w-10 inline-block relative border-none absolute inset-0 bg-[var(--border)] rounded-full cursor-pointer',
1919
'[transition:color_.15s_ease-out]',
20-
'peer-focus:outline-none peer-focus:ring-2',
20+
'peer-focus:outline-none',
2121
'peer-checked:bg-[var(--primary)]',
22-
'after:content-[\'\'] after:h-4 after:w-4 after:bg-[var(--background)] after:shadow after:rounded-full after:-mt-2 after:absolute after:top-1/2 after:left-1 after:transition-all',
22+
'after:content-[\'\'] after:h-4 after:w-4 after:bg-white after:shadow after:rounded-full after:-mt-2 after:absolute after:top-1/2 after:left-1 after:transition-all',
2323
'peer-checked:after:translate-x-full',
2424
'peer-disabled:opacity-50 peer-disabled:cursor-not-allowed',
2525
]) }}"></div>

0 commit comments

Comments
 (0)