Skip to content

Add favicon updates and dark mode favicon swap - #41

Merged
petercr merged 2 commits into
mainfrom
feat/favicon-dark-mode
Apr 4, 2026
Merged

Add favicon updates and dark mode favicon swap#41
petercr merged 2 commits into
mainfrom
feat/favicon-dark-mode

Conversation

@petercr

@petercr petercr commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Updated all favicon assets (PNG, SVG, ICO, Apple touch icon, web manifest icons)
  • Added dark mode favicon variant (favicon-dark.png)
  • Implemented dynamic favicon swapping based on theme preference

How it works

The FavIcons component now uses React state to track the current theme (data-theme attribute) and updates favicon href attributes accordingly when the theme changes.

Test plan

  • Verify favicon displays correctly in light mode
  • Toggle to dark mode and verify favicon changes
  • Test in different browsers (Chrome, Firefox, Safari)

@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ccw Ready Ready Preview, Comment Apr 4, 2026 7:17pm

Entire-Checkpoint: 1599c3fe9104
@petercr
petercr merged commit 5a805d9 into main Apr 4, 2026
3 checks passed
@petercr

petercr commented Apr 4, 2026

Copy link
Copy Markdown
Owner Author

the favicon swap most likely won't work due to caching, but at least we updated:

  • favicons
  • sharing meta image & text

still worth doing. Make sure to text on devices.

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