https://github.com/pacocoursey/next-themes
Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing
https://github.com/pacocoursey/next-themes
dark-mode dark-theme nextjs react themes
Last synced: about 19 hours ago
JSON representation
Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing
- Host: GitHub
- URL: https://github.com/pacocoursey/next-themes
- Owner: pacocoursey
- License: mit
- Created: 2020-10-10T05:32:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T21:08:55.000Z (about 1 month ago)
- Last Synced: 2025-04-21T10:04:11.455Z (15 days ago)
- Topics: dark-mode, dark-theme, nextjs, react, themes
- Language: TypeScript
- Homepage: https://next-themes-example.vercel.app/
- Size: 734 KB
- Stars: 5,653
- Watchers: 15
- Forks: 208
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: license.md
Awesome Lists containing this project
- Awesome-NextJs - next-themes - [demo](https://next-themes-example.vercel.app/) - `Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing` (Nextjs Plugins)