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

Header appears white in dark mode #57

Open
michaelreinhard1 opened this issue Dec 28, 2024 · 1 comment
Open

Header appears white in dark mode #57

michaelreinhard1 opened this issue Dec 28, 2024 · 1 comment

Comments

@michaelreinhard1
Copy link

Hi, just wanted to let you know that the header currently displays as white in dark mode in the live preview: https://landing-template.nuxt.dev/

afbeelding

@BalajiSriraman
Copy link

BalajiSriraman commented Dec 30, 2024

const colorMode = useColorMode();

<UHeader :class="colorMode.value == 'dark' ? 'dark' : 'light'" :links="links">

this code fixes the issue in nuxthub preview(wrangler pages dev), but fails in prod

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

2 participants