mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-24 04:40:17 +08:00
optimize(projects): simplify some theme preset configurations.
This commit is contained in:
@@ -2,10 +2,8 @@
|
|||||||
"name": "Azir's Preset",
|
"name": "Azir's Preset",
|
||||||
"desc": "It is a cold and elegant preset that Azir likes",
|
"desc": "It is a cold and elegant preset that Azir likes",
|
||||||
"i18nkey": "theme.appearance.preset.azir",
|
"i18nkey": "theme.appearance.preset.azir",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"themeScheme": "light",
|
"themeScheme": "light",
|
||||||
"grayscale": false,
|
|
||||||
"colourWeakness": false,
|
|
||||||
"recommendColor": true,
|
"recommendColor": true,
|
||||||
"themeColor": "#78a878",
|
"themeColor": "#78a878",
|
||||||
"otherColor": {
|
"otherColor": {
|
||||||
@@ -14,58 +12,7 @@
|
|||||||
"warning": "#d4bb9d",
|
"warning": "#d4bb9d",
|
||||||
"error": "#c49a9a"
|
"error": "#c49a9a"
|
||||||
},
|
},
|
||||||
"themeRadius": 6,
|
|
||||||
"isInfoFollowPrimary": true,
|
"isInfoFollowPrimary": true,
|
||||||
"layout": {
|
|
||||||
"mode": "vertical-mix",
|
|
||||||
"scrollMode": "wrapper"
|
|
||||||
},
|
|
||||||
"page": {
|
|
||||||
"animate": true,
|
|
||||||
"animateMode": "zoom-fade"
|
|
||||||
},
|
|
||||||
"header": {
|
|
||||||
"height": 64,
|
|
||||||
"breadcrumb": {
|
|
||||||
"visible": true,
|
|
||||||
"showIcon": true
|
|
||||||
},
|
|
||||||
"multilingual": {
|
|
||||||
"visible": true
|
|
||||||
},
|
|
||||||
"globalSearch": {
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tab": {
|
|
||||||
"visible": true,
|
|
||||||
"cache": true,
|
|
||||||
"height": 48,
|
|
||||||
"mode": "chrome",
|
|
||||||
"closeTabByMiddleClick": false
|
|
||||||
},
|
|
||||||
"fixedHeaderAndTab": true,
|
|
||||||
"sider": {
|
|
||||||
"inverted": false,
|
|
||||||
"width": 220,
|
|
||||||
"collapsedWidth": 64,
|
|
||||||
"mixWidth": 90,
|
|
||||||
"mixCollapsedWidth": 64,
|
|
||||||
"mixChildMenuWidth": 200
|
|
||||||
},
|
|
||||||
"footer": {
|
|
||||||
"visible": true,
|
|
||||||
"fixed": true,
|
|
||||||
"height": 56,
|
|
||||||
"right": true
|
|
||||||
},
|
|
||||||
"watermark": {
|
|
||||||
"visible": false,
|
|
||||||
"text": "SoybeanAdmin",
|
|
||||||
"enableUserName": false,
|
|
||||||
"enableTime": true,
|
|
||||||
"timeFormat": "YYYY-MM-DD HH:mm:ss"
|
|
||||||
},
|
|
||||||
"tokens": {
|
"tokens": {
|
||||||
"light": {
|
"light": {
|
||||||
"colors": {
|
"colors": {
|
||||||
|
|||||||
@@ -2,33 +2,12 @@
|
|||||||
"name": "Compact Preset",
|
"name": "Compact Preset",
|
||||||
"desc": "Compact layout preset for small screens",
|
"desc": "Compact layout preset for small screens",
|
||||||
"i18nkey": "theme.appearance.preset.compact",
|
"i18nkey": "theme.appearance.preset.compact",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"themeScheme": "light",
|
|
||||||
"grayscale": false,
|
|
||||||
"colourWeakness": false,
|
|
||||||
"recommendColor": false,
|
|
||||||
"themeColor": "#646cff",
|
|
||||||
"otherColor": {
|
|
||||||
"info": "#2080f0",
|
|
||||||
"success": "#52c41a",
|
|
||||||
"warning": "#faad14",
|
|
||||||
"error": "#f5222d"
|
|
||||||
},
|
|
||||||
"themeRadius": 6,
|
"themeRadius": 6,
|
||||||
"isInfoFollowPrimary": true,
|
|
||||||
"layout": {
|
|
||||||
"mode": "vertical",
|
|
||||||
"scrollMode": "content"
|
|
||||||
},
|
|
||||||
"page": {
|
|
||||||
"animate": true,
|
|
||||||
"animateMode": "fade-slide"
|
|
||||||
},
|
|
||||||
"header": {
|
"header": {
|
||||||
"height": 48,
|
"height": 48,
|
||||||
"breadcrumb": {
|
"breadcrumb": {
|
||||||
"visible": true,
|
"visible": false
|
||||||
"showIcon": true
|
|
||||||
},
|
},
|
||||||
"multilingual": {
|
"multilingual": {
|
||||||
"visible": false
|
"visible": false
|
||||||
@@ -44,7 +23,6 @@
|
|||||||
"mode": "button",
|
"mode": "button",
|
||||||
"closeTabByMiddleClick": false
|
"closeTabByMiddleClick": false
|
||||||
},
|
},
|
||||||
"fixedHeaderAndTab": true,
|
|
||||||
"sider": {
|
"sider": {
|
||||||
"inverted": false,
|
"inverted": false,
|
||||||
"width": 180,
|
"width": 180,
|
||||||
@@ -54,38 +32,6 @@
|
|||||||
"mixChildMenuWidth": 180
|
"mixChildMenuWidth": 180
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"visible": false,
|
"visible": false
|
||||||
"fixed": false,
|
|
||||||
"height": 40,
|
|
||||||
"right": true
|
|
||||||
},
|
|
||||||
"watermark": {
|
|
||||||
"visible": false,
|
|
||||||
"text": "SoybeanAdmin",
|
|
||||||
"enableUserName": false,
|
|
||||||
"enableTime": false,
|
|
||||||
"timeFormat": "YYYY-MM-DD HH:mm"
|
|
||||||
},
|
|
||||||
"tokens": {
|
|
||||||
"light": {
|
|
||||||
"colors": {
|
|
||||||
"container": "rgb(255, 255, 255)",
|
|
||||||
"layout": "rgb(247, 250, 252)",
|
|
||||||
"inverted": "rgb(0, 20, 40)",
|
|
||||||
"base-text": "rgb(31, 31, 31)"
|
|
||||||
},
|
|
||||||
"boxShadow": {
|
|
||||||
"header": "0 1px 2px rgb(0, 21, 41, 0.08)",
|
|
||||||
"sider": "2px 0 8px 0 rgb(29, 35, 41, 0.05)",
|
|
||||||
"tab": "0 1px 2px rgb(0, 21, 41, 0.08)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dark": {
|
|
||||||
"colors": {
|
|
||||||
"container": "rgb(28, 28, 28)",
|
|
||||||
"layout": "rgb(18, 18, 18)",
|
|
||||||
"base-text": "rgb(224, 224, 224)"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
"name": "Dark Preset",
|
"name": "Dark Preset",
|
||||||
"desc": "Dark theme preset for night time usage",
|
"desc": "Dark theme preset for night time usage",
|
||||||
"i18nkey": "theme.appearance.preset.dark",
|
"i18nkey": "theme.appearance.preset.dark",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"themeScheme": "dark",
|
"themeScheme": "dark",
|
||||||
"grayscale": false,
|
"grayscale": false,
|
||||||
"colourWeakness": false,
|
"colourWeakness": false,
|
||||||
"recommendColor": false,
|
"recommendColor": false,
|
||||||
"themeColor": "#409eff",
|
"themeColor": "#646cff",
|
||||||
"otherColor": {
|
"otherColor": {
|
||||||
"info": "#2080f0",
|
"info": "#2080f0",
|
||||||
"success": "#52c41a",
|
"success": "#52c41a",
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
},
|
},
|
||||||
"fixedHeaderAndTab": true,
|
"fixedHeaderAndTab": true,
|
||||||
"sider": {
|
"sider": {
|
||||||
"inverted": true,
|
"inverted": false,
|
||||||
"width": 220,
|
"width": 220,
|
||||||
"collapsedWidth": 64,
|
"collapsedWidth": 64,
|
||||||
"mixWidth": 90,
|
"mixWidth": 90,
|
||||||
|
|||||||
Reference in New Issue
Block a user