mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-26 16:05:11 +00:00
## Summary Serve separate SVG favicons via prefers-color-scheme so the icon stays legible against both light and dark browser chrome. Drop the unreferenced favicon.svg / favicon.png; keep favicon.ico as the legacy fallback. ## Changes - What: apps/website/src/layouts/BaseLayout.astro now links favicon-light.svg and favicon-dark.svg gated on prefers-color-scheme, with favicon.ico retained as the legacy fallback. Unreferenced favicon.svg / favicon.png removed from apps/website/public/. ## Review Focus - Naming convention: favicon-light.svg is the asset served in light mode (dark-backgrounded icon for contrast against light chrome); favicon-dark.svg is served in dark mode. Confirm this matches expectation. - Safari fallback: older Safari versions ignore prefers-color-scheme on <link rel="icon"> and will fall through to favicon.ico — that file is unchanged and should look acceptable in both modes. ## Screenshots Dark mode: <img width="224" height="30" alt="image" src="https://github.com/user-attachments/assets/5fa3c620-0021-4c90-bc18-013cd6ef45cf" /> Light mode: <img width="227" height="28" alt="image" src="https://github.com/user-attachments/assets/54a130e1-f976-46e8-b047-e27efe22e479" />