diff --git a/app.vue b/app.vue
index 4be3889..c093fc7 100644
--- a/app.vue
+++ b/app.vue
@@ -1,15 +1,20 @@
-
+
+
+
+
+
+
+ {{ theme.title }}
+
+
+
diff --git a/nuxt.config.ts b/nuxt.config.ts
index c58d0b0..1ed7738 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -21,5 +21,6 @@ export default defineNuxtConfig({
'vuetify/styles',
'material-design-icons-iconfont/dist/material-design-icons.css',
'highlight.js/styles/panda-syntax-dark.css',
- ]
+ ],
+ modules: ['@nuxtjs/color-mode']
})
diff --git a/package.json b/package.json
index c8ccb51..dde124a 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
"postinstall": "nuxt prepare"
},
"devDependencies": {
+ "@nuxtjs/color-mode": "^3.2.0",
"material-design-icons-iconfont": "^6.7.0",
"nuxt": "^3.1.2"
},
diff --git a/yarn.lock b/yarn.lock
index abf52fb..91d1b3a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -786,6 +786,15 @@
vite-plugin-checker "^0.5.5"
vue-bundle-renderer "^1.0.0"
+"@nuxtjs/color-mode@^3.2.0":
+ version "3.2.0"
+ resolved "https://registry.npmmirror.com/@nuxtjs/color-mode/-/color-mode-3.2.0.tgz#b5b6a3931a6ddd9646c3aad121d357c635792eb7"
+ integrity sha512-isDR01yfadopiHQ/VEVUpyNSPrk5PCjUHS4t1qYRZwuRGefU4s9Iaxf6H9nmr1QFzoMgTm+3T0r/54jLwtpZbA==
+ dependencies:
+ "@nuxt/kit" "^3.0.0"
+ lodash.template "^4.5.0"
+ pathe "^1.0.0"
+
"@planetscale/database@^1.5.0":
version "1.5.0"
resolved "https://registry.npmmirror.com/@planetscale/database/-/database-1.5.0.tgz#073d9ca9841ad62896a6e31f610e89112e6264ef"