Enhance theme toggle functionality and update styles; add light and dark SVG icons

This commit is contained in:
Will Miao
2025-02-05 18:45:21 +08:00
parent 210bc70481
commit 77ee93b385
5 changed files with 82 additions and 33 deletions

View File

@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5" fill="#333333"/>
<line x1="12" y1="1" x2="12" y2="3" stroke="#333333"/>
<line x1="12" y1="21" x2="12" y2="23" stroke="#333333"/>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64" stroke="#333333"/>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78" stroke="#333333"/>
<line x1="1" y1="12" x2="3" y2="12" stroke="#333333"/>
<line x1="21" y1="12" x2="23" y2="12" stroke="#333333"/>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36" stroke="#333333"/>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22" stroke="#333333"/>
</svg>

After

Width:  |  Height:  |  Size: 746 B