Add light/dark mode support with CSS variables

This commit is contained in:
Jennie Robinson Faber 2025-10-06 19:54:20 +01:00
parent 970b185151
commit fb02688166
25 changed files with 1293 additions and 1177 deletions

View file

@ -6,8 +6,13 @@ export default defineAppConfig({
},
formField: {
slots: {
label: "block font-medium text-stone-200",
label: "block font-medium text-[--ui-text-dimmed]",
},
},
},
colorMode: {
preference: "system", // default value of $colorMode.preference
fallback: "dark", // fallback value if not system preference found
classSuffix: "", // default is '', set to '-mode' to have 'dark-mode' and 'light-mode'
},
});