mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-03 15:43:11 +08:00
- Add minimal theme preload script to prevent FOUC - Fix favicon path to use base variable for GitHub Pages - Theme script only sets data-theme attribute (no color mode) - Maintains SSR/client consistency while eliminating flash Fixes: - Hydration mismatch error from localStorage access before Vue mount - Favicon 404 on GitHub Pages deployment - FOUC when theme applies after hydration The new script is minimal and safe: - Runs synchronously in head (before render) - Only reads localStorage and sets attribute - Matches what ThemeSwitcher.vue will do after mount - No DOM manipulation that could cause mismatch
17 KiB
17 KiB