Ajout du mode clair/sombre (dark mode)

- Installation de next-themes
- Création du composant ThemeToggle avec icônes soleil/lune
- Intégration du ThemeProvider dans le layout
- Ajout du toggle dans la navigation mobile et le header admin
- Adaptation des couleurs pour le dark mode (tropical chic)
- Mise à jour des composants UI (Card, Button) pour le dark mode
- Adaptation des composants principaux (Layout, WifiCard, etc.)
This commit is contained in:
2025-11-23 16:53:27 +01:00
parent 106f15205c
commit 0e485aacee
13 changed files with 124 additions and 32 deletions

View File

@ -4,10 +4,10 @@
@layer base {
body {
@apply bg-background;
@apply bg-background dark:bg-background-dark;
font-size: 16px;
min-height: 100vh;
color: #1f2937;
@apply text-foreground dark:text-foreground-dark;
}
}