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

Problem using Dark/Light mode and unstyled in Nuxt #15

Open
FamilyMan opened this issue Oct 13, 2024 · 0 comments
Open

Problem using Dark/Light mode and unstyled in Nuxt #15

FamilyMan opened this issue Oct 13, 2024 · 0 comments

Comments

@FamilyMan
Copy link

I have a couple of examples setup in Stackblitz. The following uses styled and Aura and works fine:

https://stackblitz.com/edit/nuxt-starter-when2j

This one is using unstyled:
https://stackblitz.com/edit/nuxt-starter-dv4txk

In the unstyled version the dark/light mode toggling isn't correct, I believe this is probably to do with the base.css, I got this from:

https://github.com/primefaces/primevue-examples/blob/main/nuxt-unstyled-tailwind/assets/css/base.css

Is this expected and I need to implement more CSS or am I doing something else wrong?

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

1 participant