Skip to content

Commit

Permalink
build: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaPeach committed Feb 27, 2024
1 parent 6831c90 commit f1bee5f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/arcodesign/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="_b
React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">Click here</a>**

```
<link ref="stylesheet" href="https://unpkg.com/@arco-design/[email protected].8/dist/style.min.css">
<script src="https://unpkg.com/@arco-design/[email protected].8/dist/index.min.js"></script>
<link ref="stylesheet" href="https://unpkg.com/@arco-design/[email protected].9/dist/style.min.css">
<script src="https://unpkg.com/@arco-design/[email protected].9/dist/index.min.js"></script>
```

## Full import
Expand Down
4 changes: 2 additions & 2 deletions packages/arcodesign/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="
React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">戳这里获取</a>**

```
<link ref="stylesheet" href="https://unpkg.com/@arco-design/[email protected].8/dist/style.min.css">
<script src="https://unpkg.com/@arco-design/[email protected].8/dist/index.min.js"></script>
<link ref="stylesheet" href="https://unpkg.com/@arco-design/[email protected].9/dist/style.min.css">
<script src="https://unpkg.com/@arco-design/[email protected].9/dist/index.min.js"></script>
```

## 引入全部
Expand Down
2 changes: 1 addition & 1 deletion packages/arcodesign/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
"publishConfig": {
"access": "public"
},
"gitHead": "2838b15919944eb0a2122b01cb1a9e8e0e0af75a"
"gitHead": "6831c908713b02b4f7738c793ea4118e17f03458"
}
5 changes: 4 additions & 1 deletion packages/arcodesign/tokens/app/arcodesign/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -1074,4 +1076,5 @@ var tokens = {
"skeleton-medium-gutter": "0.16rem",
"skeleton-large-gutter": "0.4rem"
};
var _default = exports["default"] = tokens;
var _default = tokens;
exports["default"] = _default;
2 changes: 1 addition & 1 deletion packages/common-widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "2838b15919944eb0a2122b01cb1a9e8e0e0af75a",
"gitHead": "6831c908713b02b4f7738c793ea4118e17f03458",
"dependencies": {
"es6-promise": "^4.2.8"
}
Expand Down

0 comments on commit f1bee5f

Please sign in to comment.