feat: add ThemeToggle component with next-themes

This commit is contained in:
2026-08-11 08:58:58 +02:00
parent 630f036f14
commit 3994d32d35
3 changed files with 62 additions and 0 deletions
+11
View File
@@ -15,6 +15,7 @@
"mariadb": "^3.5.3",
"next": "^16.3.0",
"next-intl": "^4.13.6",
"next-themes": "^0.4.6",
"prisma": "^7.9.1",
"react": "^19.2.8",
"react-dom": "^19.2.8"
@@ -7096,6 +7097,16 @@
"integrity": "sha512-M2L8jtPEAXj0CPmXbiW66THdr3OnDqA9IsU1hqv3CdxtVow3Bl9eXPdT9Opeji7L4AFrUZ016dJOs+CoTw66OA==",
"license": "MIT"
},
"node_modules/next-themes": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",
"integrity": "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==",
"license": "MIT",
"peerDependencies": {
"react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"
}
},
"node_modules/node-addon-api": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",