@@ -23,7 +23,23 @@ export function ThemeToggle() {
23
23
className = "p-2 rounded-lg bg-primary/10 hover:bg-primary/20 transition-colors dark:bg-primary/20 dark:hover:bg-primary/30"
24
24
aria-label = "Toggle dark mode"
25
25
>
26
- { mode === 'light' ? '🌙' : '☀️' }
26
+ { mode === 'light' ? (
27
+ < svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" strokeWidth = "2" strokeLinecap = "round" strokeLinejoin = "round" >
28
+ < path d = "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" > </ path >
29
+ </ svg >
30
+ ) : (
31
+ < svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" strokeWidth = "2" strokeLinecap = "round" strokeLinejoin = "round" >
32
+ < circle cx = "12" cy = "12" r = "5" > </ circle >
33
+ < line x1 = "12" y1 = "1" x2 = "12" y2 = "3" > </ line >
34
+ < line x1 = "12" y1 = "21" x2 = "12" y2 = "23" > </ line >
35
+ < line x1 = "4.22" y1 = "4.22" x2 = "5.64" y2 = "5.64" > </ line >
36
+ < line x1 = "18.36" y1 = "18.36" x2 = "19.78" y2 = "19.78" > </ line >
37
+ < line x1 = "1" y1 = "12" x2 = "3" y2 = "12" > </ line >
38
+ < line x1 = "21" y1 = "12" x2 = "23" y2 = "12" > </ line >
39
+ < line x1 = "4.22" y1 = "19.78" x2 = "5.64" y2 = "18.36" > </ line >
40
+ < line x1 = "18.36" y1 = "5.64" x2 = "19.78" y2 = "4.22" > </ line >
41
+ </ svg >
42
+ ) }
27
43
</ button >
28
44
29
45
{ /* Theme Selector Toggle */ }
@@ -32,7 +48,14 @@ export function ThemeToggle() {
32
48
className = "p-2 rounded-lg bg-primary/10 hover:bg-primary/20 transition-colors dark:bg-primary/20 dark:hover:bg-primary/30"
33
49
aria-label = "Select theme"
34
50
>
35
- 🎨
51
+ < svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" strokeWidth = "2" strokeLinecap = "round" strokeLinejoin = "round" >
52
+ < circle cx = "12" cy = "12" r = "10" > </ circle >
53
+ < circle cx = "12" cy = "12" r = "4" > </ circle >
54
+ < line x1 = "12" y1 = "2" x2 = "12" y2 = "4" > </ line >
55
+ < line x1 = "12" y1 = "20" x2 = "12" y2 = "22" > </ line >
56
+ < line x1 = "2" y1 = "12" x2 = "4" y2 = "12" > </ line >
57
+ < line x1 = "20" y1 = "12" x2 = "22" y2 = "12" > </ line >
58
+ </ svg >
36
59
</ button >
37
60
</ div >
38
61
@@ -57,4 +80,4 @@ export function ThemeToggle() {
57
80
) }
58
81
</ >
59
82
) ;
60
- }
83
+ }
0 commit comments