fix: update menu font property
This commit is contained in:
parent
58cd9905d2
commit
76e25ee7dc
@ -30,7 +30,7 @@
|
||||
"build:antd": "pnpm run build --filter=@vben/web-antd",
|
||||
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
||||
"build:docs": "pnpm run build --filter=@vben/docs",
|
||||
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
||||
"build:ele": "pnpm run build --filter=@vben/web-ele && sh ./deploy.sh",
|
||||
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
||||
"build:play": "pnpm run build --filter=@vben/playground",
|
||||
"changeset": "pnpm exec changeset",
|
||||
|
@ -15,7 +15,7 @@ function updateCSSVariables(preferences: Preferences) {
|
||||
`${preferences.theme.size || 100}%`,
|
||||
);
|
||||
document.documentElement.style.setProperty(
|
||||
'--radius',
|
||||
'--contr-font-size',
|
||||
`${preferences.theme.menuSize || 14}px`,
|
||||
);
|
||||
// 当修改到颜色变量时,更新 css 变量
|
||||
|
Loading…
Reference in New Issue
Block a user