create-antd-skin 1.2.9 → 1.3.1

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.
Files changed (35) hide show
  1. package/README.md +12 -7
  2. package/bin/skin.js +1 -4
  3. package/package.json +1 -1
  4. package/skins/blue-sky-dark/index.tsx +2 -1
  5. package/skins/blue-sky-light/index.tsx +2 -1
  6. package/skins/green-woods-light/index.tsx +2 -1
  7. package/skins/park-waves-dark/index.tsx +2 -1
  8. package/skins/park-waves-light/index.tsx +2 -1
  9. package/skins/park-waves-none/index.tsx +2 -1
  10. package/skins/park-waves-sider/index.tsx +2 -1
  11. package/skins/pink-blossom-light/images/app-logo-light.svg +10 -0
  12. package/skins/pink-blossom-light/images/bottom-left-bg.svg +64 -0
  13. package/skins/pink-blossom-light/images/skin-icon-light.svg +23 -0
  14. package/skins/pink-blossom-light/images/top-left-bg.svg +53 -0
  15. package/skins/pink-blossom-light/images/top-right-bg.svg +47 -0
  16. package/skins/pink-blossom-light/index.tsx +80 -0
  17. package/skins/pink-romance/images/app-logo-light.svg +24 -0
  18. package/skins/pink-romance/images/bottom-left-bg.svg +43 -0
  19. package/skins/pink-romance/images/center-left-bg.svg +35 -0
  20. package/skins/pink-romance/images/skin-icon-light.svg +27 -0
  21. package/skins/pink-romance/images/top-right-bg.svg +48 -0
  22. package/skins/pink-romance/index.tsx +76 -0
  23. package/skins/red-waves-light/index.tsx +1 -0
  24. package/skins/spring-vitality/images/app-logo-light.svg +25 -0
  25. package/skins/spring-vitality/images/bottom-left-bg.svg +58 -0
  26. package/skins/spring-vitality/images/center-left-bg.svg +45 -0
  27. package/skins/spring-vitality/images/skin-icon-light.svg +20 -0
  28. package/skins/spring-vitality/images/top-right-bg.svg +71 -0
  29. package/skins/spring-vitality/index.tsx +76 -0
  30. package/skins/vintage-brown/images/app-logo-light.svg +24 -0
  31. package/skins/vintage-brown/images/bottom-left-bg.svg +43 -0
  32. package/skins/vintage-brown/images/center-left-bg.svg +29 -0
  33. package/skins/vintage-brown/images/skin-icon-light.svg +27 -0
  34. package/skins/vintage-brown/images/top-right-bg.svg +48 -0
  35. package/skins/vintage-brown/index.tsx +76 -0
@@ -0,0 +1,76 @@
1
+ import { LazyImage } from "@adminui-dev/antd-layout";
2
+ import type { ThemeSkin } from "@adminui-dev/antd-layout";
3
+ import { Grid } from "antd";
4
+
5
+ const { useBreakpoint } = Grid;
6
+
7
+ const skinBgStyles: React.CSSProperties = {
8
+ position: "absolute",
9
+ inset: "0",
10
+ };
11
+
12
+ const imgStyles: React.CSSProperties = {
13
+ position: "absolute",
14
+ maxWidth: "none",
15
+ transition: "width 0.3s, height 0.3s, opacity 0.3s",
16
+ };
17
+
18
+ const ImageBackground = () => {
19
+ const { lg } = useBreakpoint();
20
+ return (
21
+ <div style={skinBgStyles}>
22
+ <LazyImage
23
+ hasChild
24
+ style={{ ...imgStyles, top: "0px", right: "0px" }}
25
+ src="/images/skins/vintage-brown/top-right-bg.svg"
26
+ alt="top-right-bg.svg"
27
+ />
28
+ <LazyImage
29
+ hasChild
30
+ style={{ ...imgStyles, bottom: "0px", left: "0px" }}
31
+ src="/images/skins/vintage-brown/bottom-left-bg.svg"
32
+ alt="bottom-left-bg.svg"
33
+ />
34
+ <LazyImage
35
+ hasChild
36
+ style={{ ...imgStyles, top: "-50px", left: lg ? "40px" : "-60px" }}
37
+ src="/images/skins/vintage-brown/center-left-bg.svg"
38
+ alt="center-left-bg.svg"
39
+ />
40
+ </div>
41
+ );
42
+ };
43
+
44
+ const skin: ThemeSkin = {
45
+ name: "vintageBrown",
46
+ label: "VintageBrown",
47
+ author: "Gemini",
48
+ description: "Warm vintage walnut & parchment wave effect",
49
+ publishDate:"2026/12/4 05:32",
50
+ skinType: "system",
51
+ layoutConfig: {
52
+ theme: "light",
53
+ primaryColor: "#8b4513",
54
+ colorLink: "#a0522d",
55
+ noneHeader: false,
56
+ hideBorder: false,
57
+ asideBlur: true,
58
+ headerBlur: true,
59
+ largeBrand: true,
60
+ containerBlur: true,
61
+ hideTitle: true,
62
+ menuItemSelectColor: "primary",
63
+ },
64
+ antdToken: {
65
+ colorBgBase: "#f5efe6",
66
+ colorTextBase: "#241912",
67
+ colorBgContainer: "#fbf8f3",
68
+ colorBorder: "#dfd3c3",
69
+ colorBorderSecondary: "#e8dfd1",
70
+ },
71
+ logo: "/images/skins/vintage-brown/app-logo-light.svg",
72
+ icon: "/images/skins/vintage-brown/skin-icon-light.svg",
73
+ backgroundContent: <ImageBackground />,
74
+ };
75
+
76
+ export default skin;