create-antd-skin 1.1.7 → 1.1.9

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.
package/bin/skin.js CHANGED
@@ -44,7 +44,7 @@ async function getSkinList() {
44
44
  async function copySkinFiles(skinName, skinDir, projectRoot) {
45
45
  const entry = await findSkinEntry(skinDir);
46
46
  const skinImagesDir = path_1.default.join(skinDir, "images");
47
- const targetSkinDir = path_1.default.join(projectRoot, "src/components/warden-skin", skinName);
47
+ const targetSkinDir = path_1.default.join(projectRoot, "src/components/warden-skins", skinName);
48
48
  const targetImagesDir = path_1.default.join(projectRoot, "public/images/skins", skinName);
49
49
  await fs_extra_1.default.ensureDir(targetSkinDir);
50
50
  await fs_extra_1.default.copy(entry.source, path_1.default.join(targetSkinDir, `index.${entry.ext}`));
@@ -53,7 +53,7 @@ async function copySkinFiles(skinName, skinDir, projectRoot) {
53
53
  }
54
54
  }
55
55
  async function updateSkinIndex(skinName, projectRoot) {
56
- const skinRoot = path_1.default.join(projectRoot, "src/components/warden-skin");
56
+ const skinRoot = path_1.default.join(projectRoot, "src/components/warden-skins");
57
57
  const indexFile = path_1.default.join(skinRoot, "index.ts");
58
58
  await fs_extra_1.default.ensureDir(skinRoot);
59
59
  const dirs = (await fs_extra_1.default.readdir(skinRoot))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-antd-skin",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "this is skin-cli for @adminui-dev/antd-layout",
5
5
  "main": "index.js",
6
6
  "author": "zhouwenqi",
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "keywords": [
11
11
  "create-antd-skin",
12
+ "antd-layout-skin",
12
13
  "antd-skin"
13
14
  ],
14
15
  "publishConfig": {
@@ -29,7 +29,7 @@ const skin:ThemeSkin = {
29
29
  "skinType":"system",
30
30
  "layoutConfig":{
31
31
  "theme":"dark",
32
- "primaryColor":"#9898ff",
32
+ "primaryColor":"#5337c1",
33
33
  "noneHeader":false,
34
34
  "hideBorder":false,
35
35
  "asideBlur":true,
@@ -37,7 +37,11 @@ const skin:ThemeSkin = {
37
37
  "largeBrand":true,
38
38
  "containerBlur":true,
39
39
  "menuItemSelectColor":"primary",
40
- },
40
+ },
41
+ "antdToken":{
42
+ "colorBgBase": "#0c0c0d",
43
+ "colorTextBase": "#f9f8fd"
44
+ },
41
45
  "logo":"/images/skins/park-waves-dark/app-logo-dark.webp",
42
46
  "icon":"/images/skins/park-waves-dark/skin-icon-dark.webp",
43
47
  "backgroundContent":<ImageBackground />
@@ -37,7 +37,11 @@ const skin:ThemeSkin = {
37
37
  "largeBrand":true,
38
38
  "containerBlur":true,
39
39
  "menuItemSelectColor":"primary",
40
- },
40
+ },
41
+ "antdToken":{
42
+ "colorBgBase": "#f9f8fd",
43
+ "colorTextBase": "#0a0324"
44
+ },
41
45
  "logo":"/images/skins/park-waves-light/app-logo-light.webp",
42
46
  "icon":"/images/skins/park-waves-light/skin-icon-light.webp",
43
47
  "backgroundContent":<ImageBackground />
@@ -45,7 +45,11 @@ const skin:ThemeSkin = {
45
45
  "collapsedPosition":"top",
46
46
  "visibleBreadcrumbIcon":"all",
47
47
  "menuItemSelectColor":"default",
48
- },
48
+ },
49
+ "antdToken":{
50
+ "colorBgBase": "#f9f8fd",
51
+ "colorTextBase": "#0a0324"
52
+ },
49
53
  "logo":"/images/skins/park-waves-sider/app-logo-light.webp",
50
54
  "icon":"/images/skins/park-waves-sider/skin-icon-sider.webp",
51
55
  "backgroundContent":<ImageBackground />