feat: add theme toggle functionality and update localization files

- Implemented a theme toggle feature allowing users to switch between light and dark modes.
- Added a new ThemeToggle component for the theme switching button.
- Updated theme CSS to support dark mode variables and system preference detection.
- Enhanced localization files to include translations for the "toggleTheme" key across multiple languages.
This commit is contained in:
Your Name 2026-01-21 15:00:34 +08:00
parent 1f850dd926
commit db5f47586e
72 changed files with 338 additions and 77 deletions

View file

@ -26,7 +26,8 @@
"logout": "Kirjaudu ulos",
"login": "Kirjaudu sisään",
"register": "Rekisteröidy",
"language": "Kieli"
"language": "Kieli",
"toggleTheme": "Vaihda teemaa"
},
"convert": {
"title": "Muunna",