feat: enhance theme management and add login form component for user authentication

This commit is contained in:
2025-06-25 18:45:50 -05:00
parent 99bccf4444
commit 2084907fbe
3 changed files with 298 additions and 15 deletions

View File

@@ -46,7 +46,7 @@ export const ThemeProvider: React.FC<ThemeProviderProps> = ({ children }) => {
const root = document.documentElement;
// Remove existing theme classes
root.classList.remove('theme-blue', 'theme-violet', 'dark');
root.classList.remove('theme-blue', 'theme-violet', 'theme-red', 'theme-rose', 'theme-orange', 'theme-green', 'theme-yellow', 'dark');
// Add new theme class
root.classList.add(`theme-${theme}`);