Skip to content

Enhance README logo display for light and dark mode support #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aswinpradeepc
Copy link

feat: Add dark mode logo support

Changes

  • Added white logo variant for dark mode (assets/logo-darkmode.svg)
  • Updated README.md to use <picture> element for theme-aware logo display
  • Maintains original logo for light mode and fallback

Technical Details

  • Uses prefers-color-scheme media query for automatic theme detection
  • Preserves original logo dimensions and alignment
  • Ensures backwards compatibility with browsers not supporting <picture>

Testing

  • Verified logo visibility in both light/dark modes
  • Tested fallback behavior
  • Confirmed responsive sizing maintained

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