Implements a persistent dark/light mode toggle throughout the app. Changes: - New src/lib/theme.tsx: ThemeProvider + useTheme hook; reads from localStorage (key: skillguard-theme), falls back to system preference, and toggles .dark class on <html> element. - App.tsx: wrapped with ThemeProvider at the root. - public-layout.tsx: Sun/Moon icon button added to header nav (after LanguageSwitcher), with tooltip text. - layout.tsx: Sun/Moon icon button added to sidebar footer (below sign-out), with tooltip side="right". - All three locale files (de/en/es): added common.theme.switchToDark and common.theme.switchToLight tooltip keys. |
||
|---|---|---|
| .. | ||
| .replit-artifact | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||