Skip to content

Commit b021834

Browse files
chengxiuningdcw1123
authored andcommitted
CLOUD-15194 前端 - 网页插件主题可以支持客户要求的颜色
1 parent 0e873fd commit b021834

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/js/common/const.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ module.exports = {
7777
theme_moon: "theme-8",
7878
theme_lake: "theme-9",
7979
theme_business: "theme-10",
80+
theme_cherry: "theme-11",
8081
天空之城: "theme-1",
8182
丛林物语: "theme-2",
8283
红瓦洋房: "theme-3",
@@ -87,6 +88,7 @@ module.exports = {
8788
月色池塘: "theme-8",
8889
天籁湖光: "theme-9",
8990
商务风格: "theme-10",
91+
烂漫樱花: "theme-11",
9092
Sky: "theme-1",
9193
Tree: "theme-2",
9294
House: "theme-3",
@@ -96,7 +98,8 @@ module.exports = {
9698
Mountain: "theme-7",
9799
Moon: "theme-8",
98100
Lake: "theme-9",
99-
Business: "theme-10"
101+
Business: "theme-10",
102+
Cherry: "theme-11",
100103
},
101104

102105
IM: {

src/scss/theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ body {
7676
&.theme-10 {
7777
@include theme(#000000, #1a1a1a, #333333);
7878
}
79+
// 烂漫樱花
80+
&.theme-11 {
81+
@include theme(#FFA0BE, #FF91B4, #FFAFC9);
82+
}
7983
}

0 commit comments

Comments
 (0)