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

How can I get a transition between dark and light mode #239

Open
dearfrankg opened this issue Dec 1, 2023 · 4 comments
Open

How can I get a transition between dark and light mode #239

dearfrankg opened this issue Dec 1, 2023 · 4 comments

Comments

@dearfrankg
Copy link

I would like the dark mode to fade to light mode and visa versa.

I tried adding this CSS

html {
  @apply transition-colors ease-in-out duration-700;
}

After adding that CSS my header text will delay the color changes, but the bg-color change happens instantly.

@PixeledCode
Copy link

PixeledCode commented Dec 16, 2023

A reproducible on Codesandbox might help. Just to test, does using transition-all help?

@dearfrankg
Copy link
Author

A reproducible on Codesandbox might help. Just to test, does using transition-all help?

Did not help

@modyabhi
Copy link

Been trying to figure this out aswell for the last few days, same issue here. On refresh its scuffed aswell.

@mohiwalla
Copy link

Did you guyz find any solution yet?

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

No branches or pull requests

4 participants