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.
- package/README.md +12 -7
- package/bin/skin.js +1 -4
- package/package.json +1 -1
- package/skins/blue-sky-dark/index.tsx +2 -1
- package/skins/blue-sky-light/index.tsx +2 -1
- package/skins/green-woods-light/index.tsx +2 -1
- package/skins/park-waves-dark/index.tsx +2 -1
- package/skins/park-waves-light/index.tsx +2 -1
- package/skins/park-waves-none/index.tsx +2 -1
- package/skins/park-waves-sider/index.tsx +2 -1
- package/skins/pink-blossom-light/images/app-logo-light.svg +10 -0
- package/skins/pink-blossom-light/images/bottom-left-bg.svg +64 -0
- package/skins/pink-blossom-light/images/skin-icon-light.svg +23 -0
- package/skins/pink-blossom-light/images/top-left-bg.svg +53 -0
- package/skins/pink-blossom-light/images/top-right-bg.svg +47 -0
- package/skins/pink-blossom-light/index.tsx +80 -0
- package/skins/pink-romance/images/app-logo-light.svg +24 -0
- package/skins/pink-romance/images/bottom-left-bg.svg +43 -0
- package/skins/pink-romance/images/center-left-bg.svg +35 -0
- package/skins/pink-romance/images/skin-icon-light.svg +27 -0
- package/skins/pink-romance/images/top-right-bg.svg +48 -0
- package/skins/pink-romance/index.tsx +76 -0
- package/skins/red-waves-light/index.tsx +1 -0
- package/skins/spring-vitality/images/app-logo-light.svg +25 -0
- package/skins/spring-vitality/images/bottom-left-bg.svg +58 -0
- package/skins/spring-vitality/images/center-left-bg.svg +45 -0
- package/skins/spring-vitality/images/skin-icon-light.svg +20 -0
- package/skins/spring-vitality/images/top-right-bg.svg +71 -0
- package/skins/spring-vitality/index.tsx +76 -0
- package/skins/vintage-brown/images/app-logo-light.svg +24 -0
- package/skins/vintage-brown/images/bottom-left-bg.svg +43 -0
- package/skins/vintage-brown/images/center-left-bg.svg +29 -0
- package/skins/vintage-brown/images/skin-icon-light.svg +27 -0
- package/skins/vintage-brown/images/top-right-bg.svg +48 -0
- 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;
|