Skip to content

fix: sponsor logos invisible in light mode#72

Open
heytulsiprasad wants to merge 1 commit intoopenclaw:mainfrom
heytulsiprasad:fix/sponsor-logos-light-mode
Open

fix: sponsor logos invisible in light mode#72
heytulsiprasad wants to merge 1 commit intoopenclaw:mainfrom
heytulsiprasad:fix/sponsor-logos-light-mode

Conversation

@heytulsiprasad
Copy link

@heytulsiprasad heytulsiprasad commented Feb 23, 2026

Summary

  • Sponsor logos (OpenAI, Blacksmith) are invisible in light mode because the SVGs use hardcoded fill="white" which blends into the light background
  • Added filter: invert(1) on .sponsor-logo when html[data-theme='light'] is active, rendering them as dark logos
  • Added filter to the existing transition for smooth theme switching

Before / After

Before (Light Mode) — logos invisible

before-light-mode

After (Light Mode) — logos visible

after-light-mode

Dark mode — unchanged

No impact on dark mode. The filter: invert(1) rule is scoped to html[data-theme='light'] only.

Changes

  • src/pages/index.astro: Added light-mode filter: invert(1) rule for .sponsor-logo and added filter to the existing transition

Test plan

  • Toggle to light mode and verify both sponsor logos (OpenAI, Blacksmith) are visible
  • Toggle to dark mode and verify logos remain white as before
  • Verify smooth transition when switching themes

The sponsor SVGs (OpenAI, Blacksmith) use hardcoded fill="white",
making them invisible against the light background. Apply CSS
filter: invert(1) in light mode to render them as dark logos.
@vercel
Copy link

vercel bot commented Feb 23, 2026

@heytulsiprasad is attempting to deploy a commit to the Jamie's projects Team on Vercel.

A member of the Team first needs to authorize it.

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