fix(front): update styles to support fw UI
This commit is contained in:
parent
18136c7ae4
commit
1ba2f6df72
|
@ -2,11 +2,11 @@ import { useColorMode, usePreferredDark } from '@vueuse/core'
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
|
||||||
const theme = useColorMode({
|
const theme = useColorMode({
|
||||||
selector: 'body',
|
selector: 'html',
|
||||||
modes: {
|
modes: {
|
||||||
auto: '',
|
auto: '',
|
||||||
light: 'theme-light',
|
light: 'theme-light light',
|
||||||
dark: 'theme-dark'
|
dark: 'theme-dark dark'
|
||||||
},
|
},
|
||||||
emitAuto: true
|
emitAuto: true
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
Loading…
Reference in New Issue