@giteeteam/apps-team-components 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ export const getNameBadge = (name) => {
7
7
  const str = name.trim();
8
8
  return String.fromCodePoint(str.codePointAt(0));
9
9
  };
10
- const randomBackgroundColor = ['#5EA1FF', '#4BCC87', '#FFD15E', '#FF945E', '#A994FF'];
10
+ const randomBackgroundColor = ['#5EA1FF', '#4BCC87', '#FFD15E'];
11
11
  export const getBackgroundColor = (s) => {
12
12
  const code = (s === null || s === void 0 ? void 0 : s.charCodeAt(0)) || 0;
13
13
  const random = Math.floor(code % randomBackgroundColor.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-team-components",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Gitee team components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",