feat(web): add theme system with CSS variables and settings modal (#4133)

- Add ThemeContext with light/dark/system theme support
- Migrate all hardcoded colors to CSS variables
- Add SettingsModal for theme customization
- Add font loader for dynamic font selection
- Add i18n support for Chinese and Turkish locales
- Fix accessibility: add aria-live to pairing error message

Co-authored-by: nanyuantingfeng <nanyuantingfeng@163.com>
This commit is contained in:
Argenis
2026-03-21 06:22:30 -04:00
committed by Roman Tataurov
parent e73e1e6371
commit 62af0cc6e1
23 changed files with 2031 additions and 986 deletions
+4
View File
@@ -0,0 +1,4 @@
import { useContext } from 'react';
import { ThemeContext } from '../contexts/ThemeContextDef';
export const useTheme = () => useContext(ThemeContext);