Skip to content

fix: keep homepage sponsor logos colored#171

Merged
mattsse merged 1 commit into
mainfrom
codex/fix-homepage-sponsor-logos
May 6, 2026
Merged

fix: keep homepage sponsor logos colored#171
mattsse merged 1 commit into
mainfrom
codex/fix-homepage-sponsor-logos

Conversation

@mattsse

@mattsse mattsse commented May 6, 2026

Copy link
Copy Markdown
Member

Summary

Moves the homepage sponsor logo color override out of React inline styles and into the docs stylesheet.

The old inline style used filter: "none !important", which does not survive React client-side style application after route transitions. When navigating from a docs page back to the homepage, Vocs' default .vocs_Sponsors_image { filter: grayscale(1); } rule could win and desaturate the logos.

The homepage sponsor grid now has a scoped alloy_UsedByLogos class, and vocs/docs/styles.css applies filter: none !important to only those images.

Closes #132.

@mattsse mattsse requested a review from zerosnacks as a code owner May 6, 2026 17:50
@mattsse mattsse merged commit 1d98918 into main May 6, 2026
2 checks passed
@mattsse mattsse deleted the codex/fix-homepage-sponsor-logos branch May 6, 2026 18:14
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.

bug(book): logo's are getting grayed out when starting from docs and navigating to homepage

1 participant