Skip to content

Fix: give the tab icon its own background - #35

Merged
SandObserver merged 1 commit into
mainfrom
fix/favicon-safari-contrast
Sep 6, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/favicon-safari-contrast

Conversation

@SandObserver

@SandObserver SandObserver commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace the adaptive prefers-color-scheme fill in public/favicon.svg with a fixed light mark on a #0D1117 rounded tile, matching theme-color, the PNG icons and the app repository's copy of the same file.

Testing
npm run build and npm run check both pass. The icon no longer depends on a colour scheme: the file carries no media query and two fixed fills, so it renders identically in both schemes and both docs themes. Checked in Chrome; the mark's position was verified by rendering the SVG and favicon.png at 1024 and comparing bounding boxes, which match at 653x690 from 189,162.

Checklist

  • npm run build and npm run check both pass.
  • Product UI is shown by running or capturing it, never recreated in CSS.
  • Any new preview or screenshot carries no private hostnames or real data.
  • Visual changes verified in both colour schemes and both docs themes.
  • Links to the app repo still resolve.

Safari uses the light-scheme fill whatever the appearance, and supplies a
light plate on macOS and none on iOS, so the same file rendered three ways.
The mark now sits on the #0D1117 tile the PNG icons already use.
@SandObserver SandObserver added bug Something isn't working ui/ux UI, UX, and accessibility only fix labels Sep 6, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying stackyard-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: bcbef3d
Status: ✅  Deploy successful!
Preview URL: https://027973fd.stackyard-docs.pages.dev
Branch Preview URL: https://fix-favicon-safari-contrast.stackyard-docs.pages.dev

View logs

@SandObserver
SandObserver merged commit 0cc2b5c into main Sep 6, 2026
2 checks passed
@SandObserver
SandObserver deleted the fix/favicon-safari-contrast branch September 6, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ui/ux UI, UX, and accessibility only fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant