create-antd-skin 1.2.7 → 1.2.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/package.json +1 -1
- package/skins/blue-sky-dark/images/skin-icon-dark.webp +0 -0
- package/skins/blue-sky-dark/index.tsx +0 -1
- package/skins/blue-sky-light/images/skin-icon-light.webp +0 -0
- package/skins/blue-sky-light/index.tsx +0 -1
- package/skins/green-woods-light/images/app-logo-light.webp +0 -0
- package/skins/green-woods-light/images/bottom-left-bg.webp +0 -0
- package/skins/green-woods-light/images/skin-icon-light.webp +0 -0
- package/skins/green-woods-light/images/top-left-bg.webp +0 -0
- package/skins/green-woods-light/images/top-right-bg.webp +0 -0
- package/skins/green-woods-light/index.tsx +48 -0
- package/skins/park-waves-dark/images/skin-icon-dark.webp +0 -0
- package/skins/park-waves-light/images/skin-icon-light.webp +0 -0
- package/skins/park-waves-sider/images/skin-icon-sider.webp +0 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LazyImage } from "@adminui-dev/antd-layout"
|
|
2
|
+
import type {ThemeSkin} from "@adminui-dev/antd-layout"
|
|
3
|
+
|
|
4
|
+
const skinBgStyles:React.CSSProperties = {
|
|
5
|
+
position:"absolute",
|
|
6
|
+
backgroundColor:"#d0e1db",
|
|
7
|
+
inset:"0",
|
|
8
|
+
}
|
|
9
|
+
const imgStyles:React.CSSProperties = {
|
|
10
|
+
position:"absolute",
|
|
11
|
+
transition:"width 0.3s, height 0.3s, opaticy 0.3s"
|
|
12
|
+
}
|
|
13
|
+
const ImageBackground=()=>{
|
|
14
|
+
return (
|
|
15
|
+
<div style={skinBgStyles}>
|
|
16
|
+
<LazyImage style={{...imgStyles,...imgStyles,top:"0px",right:"0px"}} src="/images/skins/green-woods-light/top-right-bg.webp" alt="top-right-bg.webp" />
|
|
17
|
+
<LazyImage style={{...imgStyles,...imgStyles,bottom:"0px",left:"0px"}} src="/images/skins/green-woods-light/bottom-left-bg.webp" alt="bottom-left-bg.webp" />
|
|
18
|
+
<LazyImage style={{...imgStyles,...imgStyles,top:"-10px",left:"20px"}} src="/images/skins/green-woods-light/top-left-bg.webp" alt="top-left-bg.webp" />
|
|
19
|
+
</div>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
const skin:ThemeSkin = {
|
|
23
|
+
"name":"greenWoodsLight",
|
|
24
|
+
"label":"GreenWoodsLight",
|
|
25
|
+
"author":"adminui.dev",
|
|
26
|
+
"description":"Deep green forest distant skin with stag and moonlight",
|
|
27
|
+
"skinType":"system",
|
|
28
|
+
"layoutConfig":{
|
|
29
|
+
"theme":"light",
|
|
30
|
+
"primaryColor":"#27614a",
|
|
31
|
+
"colorLink":"#2d6b52",
|
|
32
|
+
"noneHeader":false,
|
|
33
|
+
"hideBorder":false,
|
|
34
|
+
"asideBlur":true,
|
|
35
|
+
"headerBlur":true,
|
|
36
|
+
"largeBrand":true,
|
|
37
|
+
"containerBlur":true,
|
|
38
|
+
"menuItemSelectColor":"primary",
|
|
39
|
+
},
|
|
40
|
+
"antdToken":{
|
|
41
|
+
"colorBgBase": "#eff8f4",
|
|
42
|
+
"colorTextBase": "#131414"
|
|
43
|
+
},
|
|
44
|
+
"logo":"/images/skins/green-woods-light/app-logo-light.webp",
|
|
45
|
+
"icon":"/images/skins/green-woods-light/skin-icon-light.webp",
|
|
46
|
+
"backgroundContent":<ImageBackground />
|
|
47
|
+
}
|
|
48
|
+
export default skin
|
|
Binary file
|
|
Binary file
|
|
Binary file
|