diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-09-27 19:17:51 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-27 19:17:51 +0200 |
commit | 6395d1ec4362fedd7854fc9a103bad8bf7ae5d3d (patch) | |
tree | 93a2d01ec76ef5b78e36d3f5f2ad284d1286d928 /nuxt.config.js | |
parent | 74f689fefb77328f22772bbdf9ebc6aefb01cdab (diff) |
Dark mode
Diffstat (limited to 'nuxt.config.js')
-rw-r--r-- | nuxt.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
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", + }, }; |