File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
resources/views/components Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,6 @@ class="hidden rounded-full bg-gray-200/60 px-2 py-1 text-xs text-gray-600 lg:blo
44
44
class =" flex items-center gap-3.5 text-sm"
45
45
aria-label =" Primary navigation"
46
46
>
47
- {{-- Theme toggle --}}
48
- <x-theme-toggle />
49
-
50
47
{{-- Link --}}
51
48
<a
52
49
href =" /"
@@ -62,7 +59,7 @@ class="flex items-center gap-3.5 text-sm"
62
59
63
60
{{-- Decorative circle --}}
64
61
<div
65
- class =" hidden size-[3px] rotate-45 rounded-sm bg-gray-400 lg:block"
62
+ class =" hidden size-[3px] rotate-45 rounded-sm bg-gray-400 transition duration-200 lg:block dark:opacity-60 "
66
63
aria-hidden =" true"
67
64
></div >
68
65
@@ -80,7 +77,7 @@ class="hidden size-[3px] rotate-45 rounded-sm bg-gray-400 lg:block"
80
77
</a >
81
78
{{-- Decorative circle --}}
82
79
<div
83
- class =" hidden size-[3px] rotate-45 rounded-sm bg-gray-400 lg:block"
80
+ class =" hidden size-[3px] rotate-45 rounded-sm bg-gray-400 transition duration-200 lg:block dark:opacity-60 "
84
81
aria-hidden =" true"
85
82
></div >
86
83
@if ($hasMenu )
@@ -129,6 +126,9 @@ class="h-6 w-6 text-gray-600"
129
126
Docs
130
127
</a >
131
128
@endif
129
+
130
+ {{-- Theme toggle --}}
131
+ <x-theme-toggle />
132
132
</div >
133
133
</div >
134
134
</div >
Original file line number Diff line number Diff line change 1
1
<div
2
- class =" theme-selector relative h-10 w-10 cursor-pointer select-none hover:text-slate-600 dark:text-[#ABB0DD] dark:hover:text-[#bcc1ef]"
2
+ class =" theme-selector relative -ml-1.5 h-10 w-10 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: [
You can’t perform that action at this time.
0 commit comments