Skip to content

fix: improve theme toggle visibility in light mode - #317

Open
DarshanKudrigi wants to merge 4 commits into
OpenScienceLabs:mainfrom
DarshanKudrigi:Toggle-button
Open

DarshanKudrigi wants to merge 4 commits into
OpenScienceLabs:mainfrom
DarshanKudrigi:Toggle-button

Conversation

@DarshanKudrigi

Copy link
Copy Markdown

Title: fix: improve theme toggle visibility in light mode

Description

Summary

Fixes the theme toggle visibility issue reported in [Issue #315](#315).

Problem

The theme toggle button was difficult to see in light mode because its white appearance blended into the light background.

Changes Made

  • Improved the visibility and contrast of the theme toggle in light mode.
  • Preserved the existing dark-mode appearance and theme-switching functionality.
  • Kept the implementation minimal without changing the project structure or unrelated components.

Testing

  • Verified toggle visibility in light mode.
  • Verified toggle visibility in dark mode.
  • Confirmed theme switching works correctly.
  • Checked for unintended changes to other UI elements.
  • Ran the relevant project checks.

Related Issue

Closes #315

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for opensciencelabsweb failed.

Name Link
🔨 Latest commit ea0a5b5
🔍 Latest deploy log https://app.netlify.com/projects/opensciencelabsweb/deploys/6acfcfddd4110b338b824cd4

This branch has not been deployed

No deployments
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]: Theme toggle has insufficient contrast in dark and light modes

1 participant