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

Feature Request: Light Mode , Dark Mode #279

Open
ivan20203 opened this issue Dec 5, 2023 · 1 comment
Open

Feature Request: Light Mode , Dark Mode #279

ivan20203 opened this issue Dec 5, 2023 · 1 comment

Comments

@ivan20203
Copy link

ivan20203 commented Dec 5, 2023

Right now everything is hardcoded to be in dark mode.

I tried to get dark mode and light mode to work with next-themes:

https://github.com/pacocoursey/next-themes

But, I'm not sure the prefixing of dark: works.

As in, i can get the local storage to change to "light" or "dark"

But when i use the dark prefix in the Footer.tsx lets say it does not work.

For my Footer.tsx its a client component so I have no even thought about Server components.

is there some main.css overriding?

Or maybe i should do logic within client components to check local storage.

@ivan20203
Copy link
Author

i can't do that im not admin.

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