We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e158f commit 9d76dcbCopy full SHA for 9d76dcb
src/styles/dark.ts
@@ -2,6 +2,4 @@ import { Themes } from '@varlet/ui'
2
3
export const darkTheme = Themes.toViewport({
4
...Themes.md3Dark,
5
-}, {
6
- viewportUnit: 'vw',
7
})
src/styles/light.ts
export const lightTheme = Themes.toViewport({
...Themes.md3Light,
vite.config.ts
@@ -43,6 +43,8 @@ export default ({ mode }: ConfigEnv): UserConfig => {
43
viewport({
44
unitPrecision: 6,
45
viewportWidth: 375,
46
+ mobileUnit: 'vmin',
47
+ exclude: /vue-devtools/,
48
}),
49
],
50
},
0 commit comments