+ {/* Titre */}
+
+
+
+ Paramètres
+
+
+
+ {/* Thème */}
+
+
Thème d'affichage
+
+ {THEME_OPTIONS.map(opt => {
+ const active = theme === opt.value
+ return (
+
+ )
+ })}
+
+
+
+ {/* Taille du texte */}
+
+
Taille du texte
+
+ A
+ setFontScale(parseFloat(e.target.value))}
+ style={{ flex: 1, accentColor: 'var(--accent)', cursor: 'pointer' }}
+ />
+ A
+
+
+
+ {scaleLabel} — {Math.round(fontScale * 100)}%
+
+ {fontScale !== 1 && (
+
+ )}
+
+ {/* Aperçu */}
+
+
+ Aperçu du texte principal
+
+
+ Texte secondaire et labels
+
+
+
+
+ )
+}
diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx
index 1cea986..465409a 100644
--- a/frontend/src/pages/HomePage.tsx
+++ b/frontend/src/pages/HomePage.tsx
@@ -21,6 +21,7 @@ export default function HomePage() {
{ label: 'Todos', icon: 'list-check', path: '/todos' },
{ label: 'Courses', icon: 'cart-shopping', path: '/shopping' },
{ label: 'Notes', icon: 'note-sticky', path: '/notes' },
+ { label: 'Paramètres', icon: 'sliders', path: '/config' },
].map((item) => (