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

Add dark mode preference listener and handling function. #134

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

ouariachi
Copy link
Contributor

Descripción

Se debe actualizar el tema de la página cuando el usuario cambie el tema del navegador (prefers-color-scheme).

Problema solucionado

Se ha añadido la función handleThemePreferenceChange y se usa como event-listener.

Copy link

vercel bot commented Feb 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
la-velada-web-oficial ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2024 9:13pm

Copy link

⚠️ Esta Pull Request tiene conflictos. Por favor, resuelvelos antes de que podamos evaluar los cambios.

Copy link

✅ ¡Los conflictos han sido resuletos! Un colaborador revisará pronto la Pull Request.

Copy link

⚠️ Esta Pull Request tiene conflictos. Por favor, resuelvelos antes de que podamos evaluar los cambios.

Copy link

✅ ¡Los conflictos han sido resuletos! Un colaborador revisará pronto la Pull Request.

@midudev midudev merged commit 76bc6b6 into midudev:main Feb 28, 2024
3 checks passed
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