From f1bee5fe11b7cd7226eae92ee76412232eee6b51 Mon Sep 17 00:00:00 2001 From: taoyiyue Date: Tue, 27 Feb 2024 11:27:37 +0800 Subject: [PATCH] build: update readme --- packages/arcodesign/README.en-US.md | 4 ++-- packages/arcodesign/README.md | 4 ++-- packages/arcodesign/package.json | 2 +- packages/arcodesign/tokens/app/arcodesign/default/index.js | 5 ++++- packages/common-widgets/package.json | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/arcodesign/README.en-US.md b/packages/arcodesign/README.en-US.md index 6c382c1f..1dddaae4 100644 --- a/packages/arcodesign/README.en-US.md +++ b/packages/arcodesign/README.en-US.md @@ -59,8 +59,8 @@ React & ReactDOM: **Click here** ``` - - + + ``` ## Full import diff --git a/packages/arcodesign/README.md b/packages/arcodesign/README.md index e883bc4f..20a80716 100644 --- a/packages/arcodesign/README.md +++ b/packages/arcodesign/README.md @@ -59,8 +59,8 @@ React & ReactDOM: **戳这里获取** ``` - - + + ``` ## 引入全部 diff --git a/packages/arcodesign/package.json b/packages/arcodesign/package.json index bc0c7fbb..f0ba558c 100644 --- a/packages/arcodesign/package.json +++ b/packages/arcodesign/package.json @@ -49,5 +49,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "2838b15919944eb0a2122b01cb1a9e8e0e0af75a" + "gitHead": "6831c908713b02b4f7738c793ea4118e17f03458" } diff --git a/packages/arcodesign/tokens/app/arcodesign/default/index.js b/packages/arcodesign/tokens/app/arcodesign/default/index.js index e93a7120..bd416eb1 100644 --- a/packages/arcodesign/tokens/app/arcodesign/default/index.js +++ b/packages/arcodesign/tokens/app/arcodesign/default/index.js @@ -5,10 +5,12 @@ Object.defineProperty(exports, "__esModule", { }); exports["default"] = void 0; exports.getRem = getRem; + function getRem(px, baseFontSize) { var num = Math.round(px / Number(baseFontSize) * 1000000) / 1000000; return num ? "".concat(num, "rem") : num; } + var tokens = { "prefix": "arco", "base-font-size": "50", @@ -1074,4 +1076,5 @@ var tokens = { "skeleton-medium-gutter": "0.16rem", "skeleton-large-gutter": "0.4rem" }; -var _default = exports["default"] = tokens; \ No newline at end of file +var _default = tokens; +exports["default"] = _default; \ No newline at end of file diff --git a/packages/common-widgets/package.json b/packages/common-widgets/package.json index 2a31eb7f..0bcb44eb 100644 --- a/packages/common-widgets/package.json +++ b/packages/common-widgets/package.json @@ -13,7 +13,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "2838b15919944eb0a2122b01cb1a9e8e0e0af75a", + "gitHead": "6831c908713b02b4f7738c793ea4118e17f03458", "dependencies": { "es6-promise": "^4.2.8" }