Use sun and moon glyphs for theme toggle

This commit is contained in:
2025-11-17 21:49:21 +08:00
parent 9ff2b4bb84
commit 4edb5c628d

View File

@@ -25,7 +25,7 @@ export function ThemeToggle() {
aria-label={theme === 'dark' ? '切換為淺色主題' : '切換為深色主題'} aria-label={theme === 'dark' ? '切換為淺色主題' : '切換為深色主題'}
> >
<span className="text-lg leading-none"> <span className="text-lg leading-none">
{theme === 'dark' ? '' : ''} {theme === 'dark' ? '' : ''}
</span> </span>
</button> </button>
); );