Skip to content
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

Light / Dark toggle #298

Open
digimumo opened this issue Jul 2, 2024 · 5 comments
Open

Light / Dark toggle #298

digimumo opened this issue Jul 2, 2024 · 5 comments
Labels

Comments

@digimumo
Copy link

digimumo commented Jul 2, 2024

The toggle between light and dark theme works. But I have noticed whilst navigating through my site that it does stop working. To fix the toggle I need to refresh the page. I am using Livewire full page components. Could this be the issue? No changes have been made the the toggle code/css/markup.

@zuramai
Copy link
Owner

zuramai commented Jul 2, 2024

Make sure when you implement the template into a framework, you also include the JS

Copy link

This issue has been automatically marked as stale because it has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, just leave a comment or remove the "stale" label.

@github-actions github-actions bot added stale and removed stale labels Jul 17, 2024
Repository owner deleted a comment from jvl1v5 Jul 25, 2024
@alfianchii
Copy link
Collaborator

The toggle between light and dark theme works. But I have noticed whilst navigating through my site that it does stop working. To fix the toggle I need to refresh the page. I am using Livewire full page components. Could this be the issue? No changes have been made the the toggle code/css/markup.

Based on the comment of @zuramai, you can follow the instruction. Lemme know if it works @digimumo.

@jvl1v5

This comment was marked as spam.

Copy link

This issue has been automatically marked as stale because it has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, just leave a comment or remove the "stale" label.

@github-actions github-actions bot added the stale label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants