diff --git a/front/src/composables/useTheme.ts b/front/src/composables/useTheme.ts index 5d922c332..8d5ece70e 100644 --- a/front/src/composables/useTheme.ts +++ b/front/src/composables/useTheme.ts @@ -2,11 +2,11 @@ import { useColorMode, usePreferredDark } from '@vueuse/core' import { computed } from 'vue' const theme = useColorMode({ - selector: 'body', + selector: 'html', modes: { auto: '', - light: 'theme-light', - dark: 'theme-dark' + light: 'theme-light light', + dark: 'theme-dark dark' }, emitAuto: true }) diff --git a/front/src/style/globals/_app.scss b/front/src/style/globals/_app.scss index f3be00d96..1fc69cd8c 100644 --- a/front/src/style/globals/_app.scss +++ b/front/src/style/globals/_app.scss @@ -1,6 +1,7 @@ html { scroll-behavior: smooth; + font-size: 16px; } :root {