Replies: 1 comment
-
Ok I managed to solve this!
to this:
I got the solution from reading the Astro docs 🙈 here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Has anyone successfully added Dark Mode to an Astro app when also using ViewTransitions ?
Iv'e followed the Shadcn/ui steps for adding Dark Mode in Astro and it works fine, but as soon as I add the ViewTransitions it stopped working. Whats happening is that if I'm on dark mode and go to another page, it switches back to light mode and I'm not able to persist the dark mode cookie.
Thanks in advance for any help or advise that could help me solve this problem. 🙏
Beta Was this translation helpful? Give feedback.
All reactions