Skip to content

Commit

Permalink
chore(color-mode): change to dark mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Buttaa authored and marcel-bitfly committed Nov 20, 2024
1 parent b6b40af commit f5ca896
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 319 deletions.
1 change: 1 addition & 0 deletions frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"a11y",
"checkout",
"ci",
"color-mode",
"csrf",
"customFetch",
"dialog",
Expand Down
4 changes: 2 additions & 2 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default defineNuxtConfig({
],
},
colorMode: {
fallback: 'dark', // fallback value if not system preference found
preference: 'system', // default value of $colorMode.preference
fallback: 'dark',
preference: 'dark',
},
compatibilityDate: '2024-07-15',
css: [
Expand Down
Loading

0 comments on commit f5ca896

Please sign in to comment.