Skip to content

theme toggle not affecting buttons #361

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 6 commits into
base: main
Choose a base branch
from

Conversation

surya4419
Copy link
Contributor

This pull request fixes the issue where the "Load Sample" and "Share" buttons in the body section did not update their UI on dark/light mode toggle. These buttons now respond correctly to theme changes.

Changes

  • Applied dark theme classes to Load Sample and Share buttons
  • Refactored button styling logic to support theme responsiveness

Screenshots or Video

Before

Screenshot (276)

After

Screenshot (275)

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:theme-toggle-button-fix

@surya4419 surya4419 requested a review from a team as a code owner April 24, 2025 17:00
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit 86de3fd
🔍 Latest deploy log https://app.netlify.com/sites/ap-template-playground/deploys/680a78d22e990a00081835e8
😎 Deploy Preview https://deploy-preview-361--ap-template-playground.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.

@surya4419
Copy link
Contributor Author

Hi @DianaLease ,I’ve opened a PR to fix the theme toggle issue for the Load Sample and Share buttons. When you have a moment, could you please review it and share your feedback?

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