// freeCodeCamp · 25 November 2026
How to Set Up and Customize Light and Dark Mode in shadcn with Next.js
If you've created a Next.js project with shadcn/ui recently, there's a good chance dark mode is already set up. I noticed this while looking through a fresh project. I opened app/globals.css expecting
freeCodeCamp
@freecodecamp · Ajay Patel

www.freecodecamp.org
Read Full Article at www.freecodecamp.orgfreeCodeCamp@freecodecamp
Discussion 0
Loading
Got something to say?
or to join the conversation.