mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
- Add theme toggle button in navbar with sun/moon icons - Define [data-theme=dark] CSS variables (warm dark palette) - Persist theme preference in localStorage - Follow system prefers-color-scheme on first visit - Anti-flash inline script sets theme before render - ECharts charts re-render with theme-aware colors on toggle - Fix reading ranking covers: aspect-ratio 3/4 instead of fixed height - Fix discover covers: aspect-ratio 3/4 for proper portrait display - Replace purple hero gradient with warm brown/amber matching accent - All hardcoded colors replaced with CSS variables - Smooth 0.3s transitions on all theme-dependent elements - Update footer text from SQLite to MySQL