From 6395d1ec4362fedd7854fc9a103bad8bf7ae5d3d Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 27 Sep 2022 19:17:51 +0200 Subject: Dark mode --- nuxt.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index 4c7f57c..534ad80 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -31,7 +31,7 @@ export default { // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules buildModules: [ - // https://go.nuxtjs.dev/tailwindcss + "@nuxtjs/color-mode", "@nuxtjs/tailwindcss", "@nuxtjs/style-resources", ], @@ -47,4 +47,8 @@ export default { publicRuntimeConfig: { api: process.env.BACKEND_URL, }, + + colorMode: { + fallback: "light", + }, }; -- cgit v1.2.3-18-g5258