Skip to content

Website: download list shows each system's own logo - #16

Merged
AdminGodZ merged 2 commits into
mainfrom
website/os-logos
Nov 27, 2026
Merged

AdminGodZ merged 2 commits into
mainfrom
website/os-logos

Conversation

@AdminGodZ

Copy link
Copy Markdown
Owner

The "Other systems" list in the download section now shows each system's own logo instead of the generic laptop and monitor icons: the Apple logo for macOS, the Windows mark for Windows, and Tux for Linux.

Changes

  • New site/src/components/OsIcon.astro draws the logos as inline SVG with fill="currentColor". Apple and Tux come from simple-icons, which the site already uses for the GitHub mark. Simple-icons has no Windows logo, so the component draws it: four flat squares in a 2×2 grid with a thin gap.
  • In SYSTEMS (site/src/lib/site.ts), kind: "laptop" | "monitor" is now os: "mac" | "windows" | "linux". DownloadSection.astro renders <OsIcon os={s.os} class="icon text-ink-soft" /> and no longer imports the lucide laptop and monitor icons.
  • There are no new dependencies and no new requests. The SVG paths are inlined at build time.

Sizing

The logos use the same .icon box as before (1.1em, 19.8px here), the same text-ink-soft colour, and the same .with-icon lift that centres them on the capitals. Brand logos fill their whole 24-unit box, while lucide's outline icons leave a margin, so each logo has its own viewBox, set by eye against the old icons:

  • Apple: about 83% of the box.
  • Windows: about 79% of the box, because solid squares look heavier.
  • Tux: about 89% of the box, because simple-icons' Tux is a line drawing and looks light.

What I checked

I served the built site/dist with astro preview, opened the dropdown in headless Chromium (playwright-core) and took screenshots in light and dark mode at 2× scale. I also took a comparison shot with the old lucide icons placed next to the new logos.

  • Size: every logo looks about as big and heavy as the old icon next to it. None of them is bigger or darker.
  • Alignment: every logo is centred on the capitals of its label, the same as the old icons.
  • Colour: the computed colour is rgb(81, 98, 122) in light mode and rgb(154, 169, 186) in dark mode, the same ink-soft as before, so the logos follow the theme.

Checks

  • npm ci: ok
  • npm run check (astro check): 0 errors, 0 warnings, 0 hints
  • npm run build (prepare.sh with the cargo wasm build, astro build, offline.mjs): ok, dist/broadside.html is 1.50 MB

site/src/components/game/ is not touched.

@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
broadside Ready Ready Preview Nov 27, 2026 8:11am UTC

@AdminGodZ
AdminGodZ merged commit 98c11b9 into main Nov 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant