Skip to content

Add smooth transitions for theme switching #5183

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 4 commits into
base: gh-pages
Choose a base branch
from

Conversation

Andaughters
Copy link

This PR improves the dark mode functionality by:

  1. Adding smooth CSS transitions when switching between light and dark themes

    • Applied transitions to color, background-color, border-color, and box-shadow
    • Set a moderate 0.3s duration for a pleasant user experience
  2. Fixed issues with the dark mode toggle button

    • Improved button visibility and positioning
    • Added detection and removal of duplicate toggle buttons
    • Ensured proper state management for theme switching

These changes enhance the user experience by eliminating jarring visual changes when toggling between themes, making the site feel more polished and professional.

@shiftbot
Copy link
Contributor

shiftbot commented May 3, 2025

👋 I'm a robot checking the state of this pull request to save the human reviewers time. I don't see any changes under _data/projects/ so I don't have any feedback here.

As you make changes to this pull request, I'll re-run these checks.

Copy link

netlify bot commented May 3, 2025

Deploy Preview for up-for-grabs-test-bench ready!

Name Link
🔨 Latest commit 5bac204
🔍 Latest deploy log https://app.netlify.com/sites/up-for-grabs-test-bench/deploys/68165ad6ebd2210008666b92
😎 Deploy Preview https://deploy-preview-5183--up-for-grabs-test-bench.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

2 participants