4 Commits

Author SHA1 Message Date
_Kerman
c74482401d revert(web): drop the 32x32 PNG favicon fallback
The SVG media query alone fixes the dark-mode icon for every SVG-capable
browser (Chrome, Edge, Firefox, Safari 26+); the PNG only served Safari
versions before 26, which is a shrinking legacy audience not worth a second
asset, its manifest/link declarations, and the extra test surface. index.html
and the manifest are back to the single SVG icon.
2026-08-10 14:17:17 +08:00
_Kerman
c4203677c0 test(web): pin favicon fallback format, order, and media-query binding
The pwa-manifest e2e now asserts the shipped 32x32 PNG is a valid non-empty
PNG of the declared dimensions, that the PNG link precedes the SVG link in
the built index.html (the spec selects the last equally appropriate icon),
and that the light fill lives inside the dark-scheme media query while the
light-mode default stays black.
2026-08-10 12:56:24 +08:00
_Kerman
e8f884ba35 fix(web): make the favicon follow the color scheme
favicon.svg embeds @media (prefers-color-scheme: dark) so the DeepSeek
mark turns white under a dark browser scheme; index.html and the install
manifest gain a 32x32 PNG fallback (brand blue) for Safari, which cannot
render SVG favicons. pwa-manifest.e2e.ts pins the PNG link, both manifest
icons, and the dark media query.
2026-08-10 11:50:33 +08:00
Tianyi Cui
8f2168303b feat(web): add install metadata 2026-08-06 23:00:01 +08:00