Skip to content

Commit 71a1ba7

Browse files
authored
fix: replace the wordmark favicon with a legible icon set (#164)
The favicon was the full 1099x406 logo lockup, which renders 16x6 in a tab - an illegible smear - in near-black on a transparent background, so it vanished entirely on a dark tab strip. There was also no favicon.ico, leaving Safari before 26, feed readers and the favicon services with nothing, and no apple-touch-icon. Crop to the dot matrix from the logo, the only part that survives 16px, on a square viewBox. The dots take the accent blue and swap to the dark accent through a media query inside the SVG. Add a compiled favicon.ico with 16/32/48 entries at the stable root URL, and an opaque 180x180 apple touch icon on the brand cream, since iOS composites transparency onto black. The new SVG lands on a fresh URL because Safari's favicon cache only refreshes dependably on a URL change.
1 parent 62a7c96 commit 71a1ba7

5 files changed

Lines changed: 27 additions & 10 deletions

File tree

astro.config.mjs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@ export default defineConfig({
1212
title: "RoboStack",
1313
description:
1414
"Run any ROS distro in an isolated, per-project environment. On Linux, macOS and Windows.",
15-
favicon: "/favicon.svg",
15+
favicon: "/icon.svg",
16+
head: [
17+
{
18+
tag: "link",
19+
attrs: { rel: "icon", href: "/favicon.ico", sizes: "32x32" },
20+
},
21+
{
22+
tag: "link",
23+
attrs: { rel: "apple-touch-icon", href: "/apple-touch-icon.png" },
24+
},
25+
],
1626
social: [
1727
{
1828
icon: "github",

public/apple-touch-icon.png

2.43 KB
Loading

public/favicon.ico

14.7 KB
Binary file not shown.

public/favicon.svg

Lines changed: 0 additions & 9 deletions
This file was deleted.

public/icon.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)