DSH Local Build
diff --git a/apps/web/public/favicon-dark.svg b/apps/web/public/favicon-dark.svg
new file mode 100644
index 0000000000..648fe4f2b9
--- /dev/null
+++ b/apps/web/public/favicon-dark.svg
@@ -0,0 +1,3 @@
+
diff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svg
index c92f15d43b..754615a37a 100644
--- a/apps/web/public/favicon.svg
+++ b/apps/web/public/favicon.svg
@@ -1,8 +1,3 @@
diff --git a/apps/web/tests/pwa-manifest.e2e.ts b/apps/web/tests/pwa-manifest.e2e.ts
index db5e4c66bf..2cfc21e2c9 100644
--- a/apps/web/tests/pwa-manifest.e2e.ts
+++ b/apps/web/tests/pwa-manifest.e2e.ts
@@ -28,10 +28,14 @@ it('ships install metadata with the built web application', async () => {
})
})
-it('ships a favicon that switches to a light mark under dark color scheme', async () => {
- const favicon = await readFile(join(DIST_ROOT, 'favicon.svg'), 'utf8')
- // The light fill must live inside the dark-scheme media query, so the icon
- // stays black in light mode and only turns white under a dark scheme.
- expect(favicon).toMatch(/@media \(prefers-color-scheme: dark\)\s*{\s*path\s*{[^}]*fill:\s*#fff/i)
- expect(favicon).toContain('fill="#000"')
+it('ships fixed-color favicons selected by document media queries', async () => {
+ const index = await readFile(join(DIST_ROOT, 'index.html'), 'utf8')
+ expect(index).toContain('')
+ expect(index).toContain('')
+ const light = await readFile(join(DIST_ROOT, 'favicon.svg'), 'utf8')
+ const dark = await readFile(join(DIST_ROOT, 'favicon-dark.svg'), 'utf8')
+ expect(light).not.toContain('