File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 60
60
@apply inline-flex items-center gap-3 cursor-pointer;
61
61
62
62
div {
63
- @apply relative w-9 h-5 bg-brand-200 rounded-full peer-focus:outline-hidden peer-checked:after:translate-x-full peer-checked:rtl:after:-translate-x-full peer-checked:after:border-white peer-checked:bg-brand-800 after:bg-white after:rounded-full after:size-4 after:content-['' ] after:absolute after:top-[2px ] after:start-[2px ] after:transition-all;
63
+ @apply relative w-9 h-5 bg-brand-200 rounded-full transition;
64
+ @apply peer-hover:ring-3 peer-hover:ring-brand-200/50 peer-focus:ring-3 peer-focus:ring-brand-200/50 peer-focus:outline-hidden;
65
+ @apply peer-checked:after:translate-x-full peer-checked:rtl:after:-translate-x-full peer-checked:after:border-white peer-checked:bg-brand-800;
66
+ @apply after:bg-white after:rounded-full after:size-4 after:content-['' ] after:absolute after:top-[2px ] after:start-[2px ] after:transition-all;
64
67
}
65
68
66
69
span {
Original file line number Diff line number Diff line change 91
91
</div >
92
92
93
93
<div class =" form-col" >
94
- <label class =" toggle" >
94
+ <label
95
+ for =" toggle"
96
+ class =" toggle"
97
+ >
95
98
<input
99
+ id =" toggle"
96
100
class =" sr-only peer"
97
101
type =" checkbox"
98
102
/>
You can’t perform that action at this time.
0 commit comments