Next.js Discord

Discord Forum

Theme toggle

Unanswered
Bucovina Shepherd Dog posted this in #help-forum
Open in Discord
Bucovina Shepherd DogOP
Hi everyone! I need a little bit of help with next-theme stuff. I want to make a toggle switch from light theme to dark for a specific route like '/generation' or '/generation/chat'. But instead it applies for every page i have. Is there a way to make it the way i want?

2 Replies

Bucovina Shepherd DogOP
anyone? :((
Dutch
show some related code