diff --git a/package.json b/package.json index 84c48f1..73a8922 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/@core/preferences/src/update-css-variables.ts b/packages/@core/preferences/src/update-css-variables.ts index c5f0eb9..8dad7d3 100644 --- a/packages/@core/preferences/src/update-css-variables.ts +++ b/packages/@core/preferences/src/update-css-variables.ts @@ -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 变量