Skip to content

Fix homepage logo visibility in dark mode - #417

Open
VPatil3155 wants to merge 1 commit into
aditiraj2006:mainfrom
VPatil3155:fix-dark-mode-logo
Open

Fix homepage logo visibility in dark mode#417
VPatil3155 wants to merge 1 commit into
aditiraj2006:mainfrom
VPatil3155:fix-dark-mode-logo

Conversation

@VPatil3155

@VPatil3155 VPatil3155 commented Aug 3, 2026

Copy link
Copy Markdown

📌 Linked Issue

Closes #395


📝 Summary of Changes

  • Added theme detection using useTheme from next-themes.
  • Updated the homepage logo to adapt in dark mode by applying an invert filter.
  • Improved logo visibility and contrast while preserving the existing appearance in light mode.

🔧 Type of Change

  • 🐛 Bug fix
  • ✨ New feature / enhancement
  • 🧹 Refactor / code cleanup
  • 📄 Documentation update
  • 🧪 Test addition or update
  • ⚙️ Configuration / tooling change

🧪 Testing Steps

  1. Installed project dependencies using npm install.
  2. Started the application using npm run dev.
  3. Verified that the homepage logo is black in Light Mode and changes to white in Dark Mode, improving visibility.

Environment tested on:

  • OS: Windows 11
  • Browser: Google Chrome
  • Node version: v22.x

🎥 Demo

Attached screenshots demonstrating:

  • Light Mode (logo visible in black)
  • image
  • Dark Mode (logo visible in white)
image ---

✅ Checklist

  • My code follows the project's coding style and conventions
  • I have tested my changes locally (npm install + npm run dev)
  • I have linked the relevant issue above
  • I have not introduced any new linting errors or warnings
  • I have updated documentation if needed
  • My branch is up to date with main

🌟 GSSoC Declaration

  • This PR is submitted under GSSoC 2026
  • I have read and followed the Contributing Guidelines
  • I have not plagiarised any content
  • This is my original work

@github-actions github-actions Bot added good first issue Good for newcomers gssoc'26 Contribution for GirlScript Summer of Code 2026 labels Aug 3, 2026
@VPatil3155

Copy link
Copy Markdown
Author

can you please check it out
if it is good then please do merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers gssoc'26 Contribution for GirlScript Summer of Code 2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dark mode does not update homepage logo for proper contrast

1 participant