create-antd-skin 1.2.4 → 1.2.6

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 zhouwenqi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # create-antd-skin
2
+
3
+ `create-antd-skin` is a CLI tool for creating skins for projects that use [`@adminui-dev/antd-layout`](https://www.npmjs.com/package/@adminui-dev/antd-layout).
4
+
5
+ > This tool is designed to work with `@adminui-dev/antd-layout`. It requires the use of the corresponding components within your project and also serves as an example of how to implement custom skins.
6
+
7
+ ## Usage
8
+
9
+ ```bash
10
+ cd ./your-app
11
+ npx create-antd-skin@latest parkWavesDark
12
+ ```
13
+
14
+ ### Available Skins
15
+ - `parkWavesLight`: Light theme, featuring a purple color palette and a background with flowing, ribbon-like waves.
16
+ - `parkWavesDark`: Dark theme, featuring a purple color palette and a background with flowing, ribbon-like waves.
17
+ - `parkWavesNone`: Dark theme, featuring a black color palette and a sidebar layout inspired by shadcn/ui.
18
+ - `parkWavesSider`: Dark theme, featuring a purple color palette, a background with flowing, ribbon-like waves, and a sidebar layout inspired by shadcn/ui.
19
+ - `blueSkyDark`: Dark theme, featuring a blue color palette and a sky-and-clouds background.
20
+ - `blueSkyLight`: Light theme, featuring a blue color palette and a sky-and-clouds background.
21
+
22
+ ## Related Links
23
+
24
+ * [AdminUI Official Website](https://adminui.dev)
25
+ * [@adminui-dev/antd-layout](https://www.npmjs.com/package/@adminui-dev/antd-layout)
26
+ * [adminui-cli (npm)](https://www.npmjs.com/package/adminui-cli)
27
+
28
+ ## License
29
+
30
+ Please refer to the LICENSE file included in this repository.
package/bin/index.js CHANGED
@@ -7,9 +7,10 @@ const layout_1 = require("./layout");
7
7
  const program = new commander_1.Command();
8
8
  program
9
9
  .name('create-antd-skin')
10
- .description("Add a leather theme to an antd-layout project")
11
- .version("1.0.0")
12
- .argument("[skin-name]", 'Skin name')
10
+ .description("Add a system skin to your project for @adminui-dev/admin-layout")
11
+ .version("1.2.5")
12
+ .argument("[skin-name]", "Skin name")
13
+ .option("--list", "Get a list of skin names")
13
14
  .action(async (skinName) => {
14
15
  await (0, skin_1.installSkin)(skinName);
15
16
  await (0, layout_1.updateLayouts)(process.cwd());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-antd-skin",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "this is skin-cli for @adminui-dev/antd-layout",
5
5
  "main": "index.js",
6
6
  "author": "zhouwenqi",
@@ -30,7 +30,8 @@ const skin:ThemeSkin = {
30
30
  "backgroundColor":"#090a0b",
31
31
  "layoutConfig":{
32
32
  "theme":"dark",
33
- "primaryColor":"#32a7da",
33
+ "primaryColor":"#32a7da",
34
+ "colorLink":"#1f8fbe",
34
35
  "noneHeader":false,
35
36
  "hideBorder":false,
36
37
  "asideBlur":true,
@@ -30,7 +30,8 @@ const skin:ThemeSkin = {
30
30
  "backgroundColor":"#fbfbfb",
31
31
  "layoutConfig":{
32
32
  "theme":"light",
33
- "primaryColor":"#4dbae9",
33
+ "primaryColor":"#4dbae9",
34
+ "colorLink":"#1f8fbe",
34
35
  "noneHeader":false,
35
36
  "hideBorder":false,
36
37
  "asideBlur":true,
@@ -30,6 +30,7 @@ const skin:ThemeSkin = {
30
30
  "layoutConfig":{
31
31
  "theme":"dark",
32
32
  "primaryColor":"#6e53da",
33
+ "colorLink":"#785ce7",
33
34
  "noneHeader":false,
34
35
  "hideBorder":false,
35
36
  "asideBlur":true,
@@ -30,6 +30,7 @@ const skin:ThemeSkin = {
30
30
  "layoutConfig":{
31
31
  "theme":"light",
32
32
  "primaryColor":"#4a3a88",
33
+ "colorLink":"#6c50df",
33
34
  "noneHeader":false,
34
35
  "hideBorder":false,
35
36
  "asideBlur":true,
@@ -35,6 +35,7 @@ const skin:ThemeSkin = {
35
35
  "hideBorder":true,
36
36
  "splitMenu":false,
37
37
  "primaryColor":"#4a3a88",
38
+ "colorLink":"#6c50df",
38
39
  "containerMargin":12,
39
40
  "menuIconSize":16,
40
41
  "noneHeader":true,