FINISH: Login Page Design

This commit is contained in:
EvanLin3141
2025-02-12 00:49:10 +00:00
parent 4a4fde9256
commit e5da7f63a2
5 changed files with 94 additions and 58 deletions

View File

@@ -20,7 +20,7 @@ const Theme: React.FC = () => {
const nextIndex = (currentIndex + 1) % themes.length;
const nextTheme = themes[nextIndex];
setTheme(nextTheme);
document.body.setAttribute("data-theme", nextTheme); // Update globally
document.body.setAttribute("data-theme", nextTheme);
};
return (