The iOS home-screen icon does not follow light and dark mode #65
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported: with iPX added to an iPhone's home screen, the icon stays the light logo in dark mode. iOS takes the web clip's icon once, from /apple-touch-icon.png, when the page is added, and does not honour a media query on apple-touch-icon, so the page cannot switch it (the tab's favicon does switch, #64). Only native apps get light, dark and tinted icons. Left open until iOS offers a way for web apps; meanwhile the one icon can be the light or the dark variant.
Research, 2026-09-28.
Nothing Apple documents gives a web app a dark home-screen icon.
color_schememember for manifest icons (https://microsoftedge.github.io/MSEdgeExplainers/ImageResource-color_scheme/explainer.html) is archived, WebKit has no stated position, and the related w3c/manifest issues (#975, #1045) are still open.media="(prefers-color-scheme: dark)"onapple-touch-icon. The script workaround in the forum thread picks the icon by the mode at the moment of adding and never changes it afterwards; it is no better than a fixed icon.What could still be tried:
@media (prefers-color-scheme: dark). Safari 26 accepts SVG manifest icons, and WICG's user-preferences explainer (https://github.com/WICG/manifest-incubations/blob/gh-pages/user-preferences-explainer.md) suggests a browser render an SVG icon under each system preference. Nobody reports that iOS does this; it is likely rasterised once, at install. Worth one test on a device on iOS 26: serve /manifest.webmanifest with logo.svg restyled to switch internally, add to the home screen, change the appearance.Until one of those works, the choice is only which variant apple-touch-icon.png is: light, as now, or dark. Leaving this open.