1
1
<div
2
- class =" theme-selector relative -mx-1.5 h-10 w-10 cursor-pointer select-none hover:text-slate-600 dark:opacity-70 dark:hover:text-[#bcc1ef]"
2
+ class =" theme-selector relative -mx-1.5 size-9 cursor-pointer select-none hover:text-slate-600 dark:opacity-70 dark:hover:text-[#bcc1ef]"
3
3
x-on:click =" darkMode = !darkMode"
4
4
x-data =" {
5
5
nightToDay: [
@@ -135,7 +135,7 @@ class="theme-selector-moon absolute right-1/2 top-1/2 -translate-y-1/2 translate
135
135
<div class =" -scale-x-100 transition duration-300" >
136
136
<svg
137
137
xmlns =" http://www.w3.org/2000/svg"
138
- class =" size-[22px ]"
138
+ class =" size-[20px ]"
139
139
viewBox =" 0 0 16 16"
140
140
aria-hidden =" true"
141
141
focusable =" false"
@@ -149,7 +149,7 @@ class="size-[22px]"
149
149
</div >
150
150
{{-- Mini star --}}
151
151
<div
152
- class =" theme-selector-mini-star absolute left-[.6rem ] top-[.6rem ]"
152
+ class =" theme-selector-mini-star absolute left-[.5rem ] top-[.5rem ]"
153
153
aria-hidden =" true"
154
154
>
155
155
<div class =" transition duration-300" >
@@ -169,7 +169,7 @@ class="size-[7px]"
169
169
</div >
170
170
{{-- Micro star --}}
171
171
<div
172
- class =" theme-selector-micro-star absolute left-[1rem ] top-[1rem ]"
172
+ class =" theme-selector-micro-star absolute left-[.9rem ] top-[.9rem ]"
173
173
aria-hidden =" true"
174
174
>
175
175
<div class =" transition duration-300" >
@@ -194,7 +194,7 @@ class="absolute right-1/2 top-1/2 -translate-y-1/2 translate-x-1/2"
194
194
>
195
195
<div class =" theme-selector-sunball" >
196
196
<div
197
- class =" size-3.5 rounded-full bg-current transition duration-300"
197
+ class =" size-3 rounded-full bg-current transition duration-300"
198
198
></div >
199
199
</div >
200
200
</div >
@@ -206,36 +206,36 @@ class="theme-selector-sunshine absolute inset-0 grid h-full w-full"
206
206
<div class =" relative h-full w-full" >
207
207
{{-- Top --}}
208
208
<div
209
- class =" absolute right-1/2 top-[0.45rem] h-[3.5px ] w-[2px ] translate-x-1/2 rounded-full bg-current transition duration-300"
209
+ class =" absolute right-1/2 top-[0.45rem] h-[3px ] w-[1.5px ] translate-x-1/2 rounded-full bg-current transition duration-300"
210
210
></div >
211
211
{{-- Right --}}
212
212
<div
213
- class =" absolute right-[0.45rem] top-1/2 h-[3.5px ] w-[2px ] -translate-y-1/2 rotate-[90deg] rounded-full bg-current transition duration-300"
213
+ class =" absolute right-[0.45rem] top-1/2 h-[3px ] w-[1.5px ] -translate-y-1/2 rotate-[90deg] rounded-full bg-current transition duration-300"
214
214
></div >
215
215
{{-- Bottom --}}
216
216
<div
217
- class =" absolute bottom-[0.45rem] right-1/2 h-[3.5px ] w-[2px ] translate-x-1/2 rounded-full bg-current transition duration-300"
217
+ class =" absolute bottom-[0.45rem] right-1/2 h-[3px ] w-[1.5px ] translate-x-1/2 rounded-full bg-current transition duration-300"
218
218
></div >
219
219
{{-- Left --}}
220
220
<div
221
- class =" absolute left-[0.45rem] top-1/2 h-[3.5px ] w-[2px ] -translate-y-1/2 rotate-[90deg] rounded-full bg-current transition duration-300"
221
+ class =" absolute left-[0.45rem] top-1/2 h-[3px ] w-[1.5px ] -translate-y-1/2 rotate-[90deg] rounded-full bg-current transition duration-300"
222
222
></div >
223
223
{{-- Top Right --}}
224
224
<div
225
- class =" absolute right-[0.7rem ] top-[0.7rem ] h-[3.5px ] w-[2px ] rotate-[45deg] rounded-full bg-current transition duration-300"
225
+ class =" absolute right-[0.65rem ] top-[0.65rem ] h-[3px ] w-[1.5px ] rotate-[45deg] rounded-full bg-current transition duration-300"
226
226
></div >
227
227
{{-- Top Left --}}
228
228
<div
229
- class =" absolute left-[0.7rem ] top-[0.7rem ] h-[3.5px ] w-[2px ] rotate-[-45deg] rounded-full bg-current transition duration-300"
229
+ class =" absolute left-[0.65rem ] top-[0.65rem ] h-[3px ] w-[1.5px ] rotate-[-45deg] rounded-full bg-current transition duration-300"
230
230
></div >
231
231
232
232
{{-- Bottom Right --}}
233
233
<div
234
- class =" absolute bottom-[0.7rem ] right-[0.7rem ] h-[3.5px ] w-[2px ] rotate-[-45deg] rounded-full bg-current transition duration-300"
234
+ class =" absolute bottom-[0.65rem ] right-[0.65rem ] h-[3px ] w-[1.5px ] rotate-[-45deg] rounded-full bg-current transition duration-300"
235
235
></div >
236
236
{{-- Bottom Left --}}
237
237
<div
238
- class =" absolute bottom-[0.7rem ] left-[0.7rem ] h-[3.5px ] w-[2px ] rotate-[45deg] rounded-full bg-current transition duration-300"
238
+ class =" absolute bottom-[0.65rem ] left-[0.65rem ] h-[3px ] w-[1.5px ] rotate-[45deg] rounded-full bg-current transition duration-300"
239
239
></div >
240
240
</div >
241
241
</div >
0 commit comments