nextjs-subscription-payments icon indicating copy to clipboard operation
nextjs-subscription-payments copied to clipboard

Feature Request: Light Mode , Dark Mode

Open ivan20203 opened this issue 2 years ago • 3 comments

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 avatar Dec 05 '23 20:12 ivan20203

i can't do that im not admin.

ivan20203 avatar May 02 '24 00:05 ivan20203

+1

adryserage avatar Jul 01 '24 08:07 adryserage