From da2d4f67e70132b1a8427c85bf7d661d77eae268 Mon Sep 17 00:00:00 2001 From: fabi Date: Tue, 18 Aug 2026 18:03:31 +0000 Subject: [PATCH] fix(icon): wedding rings, and delete the skeleton favicon behind them The event is a wedding, so the camera icon becomes two interlocking bands. Drawn rather than sourced: at 16px in a tab anything finer than the stroke turns to smudge, which is why the camera it replaces was three shapes and no more. White on #8a6a2b, the event's own theme_primary, so the icon, the site and the PWA chrome finally agree -- the manifest's theme_color was still the #2563eb from the camera branding. The rings span x 88-424 and y 139-373 including stroke, inside the centre-80% safe zone, so an Android circle crop cannot clip them. Also removes a second, competing icon declaration. `+layout.svelte` imported `$lib/assets/favicon.svg` -- the orange Svelte logo from the project skeleton, which Vite inlined as a data URI into the layout bundle -- and applied it via ``. Which of the two won was left to the browser: the link in app.html is parsed from the initial HTML, this one is added at hydration, and Chrome keeps the former. So the skeleton logo did not usually show, but nothing guaranteed that, and `ssr = false` means the branded link is the only one present at first paint anyway. app.html is now the single source and the skeleton asset is gone. --- frontend/src/lib/assets/favicon.svg | 1 - frontend/src/routes/+layout.svelte | 9 +++++---- frontend/static/icon.svg | 27 +++++++++++++++++---------- frontend/static/manifest.webmanifest | 2 +- 4 files changed, 23 insertions(+), 16 deletions(-) delete mode 100644 frontend/src/lib/assets/favicon.svg diff --git a/frontend/src/lib/assets/favicon.svg b/frontend/src/lib/assets/favicon.svg deleted file mode 100644 index cc5dc66..0000000 --- a/frontend/src/lib/assets/favicon.svg +++ /dev/null @@ -1 +0,0 @@ -svelte-logo \ No newline at end of file diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index d03716a..732e3bf 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,5 +1,4 @@ - - - + {@render children()} diff --git a/frontend/static/icon.svg b/frontend/static/icon.svg index 8955de7..265b344 100644 --- a/frontend/static/icon.svg +++ b/frontend/static/icon.svg @@ -1,12 +1,19 @@ - - - - - - - - - - + + + + + + + + + diff --git a/frontend/static/manifest.webmanifest b/frontend/static/manifest.webmanifest index 2ae8db7..0cc3447 100644 --- a/frontend/static/manifest.webmanifest +++ b/frontend/static/manifest.webmanifest @@ -8,7 +8,7 @@ "display": "standalone", "orientation": "portrait", "background_color": "#ffffff", - "theme_color": "#2563eb", + "theme_color": "#8a6a2b", "icons": [ { "src": "/icon.svg",