feat: 添加主题色设置功能

This commit is contained in:
pikachu1995@126.com
2026-07-07 10:56:14 +08:00
parent df35a26f9e
commit 295aaf1a01
16 changed files with 275 additions and 33 deletions

View File

@@ -814,7 +814,7 @@ export default {
color: $theme_color;
margin: 5px 0;
font-size: 12px;
background-color: #ffdedf;
background-color: var(--theme-tint-12, #ffdedf);
border: 1px dotted $theme_color;
cursor: pointer;
@@ -839,7 +839,7 @@ export default {
padding: 0 5px;
color: $theme_color;
font-size: 12px;
background-color: #ffdedf;
background-color: var(--theme-tint-12, #ffdedf);
border: 1px dotted $theme_color;
cursor: pointer;

View File

@@ -130,7 +130,7 @@ export default {
width: 190px;
height: 100%;
color: #fff;
background: linear-gradient(180deg, #ff5c58 0%, #e84a46 100%);
background: linear-gradient(180deg, var(--theme-color, #F31947) 0%, var(--theme-light, #ff6b35) 100%);
.title {
width: 100%;
text-align: center;

View File

@@ -173,7 +173,7 @@ export default {
text-align: center;
letter-spacing: 0px;
color: #f31947;
color: $theme_color;
-webkit-text-stroke: #979797 0.7px; /* 浏览器可能不支持 */
}
.goods-type-line {
@@ -190,7 +190,7 @@ export default {
color: #333333;
}
.active {
color: #f31947;
color: $theme_color;
}
.goods-type-labels {
cursor: pointer;

View File

@@ -85,7 +85,7 @@ export default {
font-size: 14px;
font-weight: normal;
line-height: 17px;
color: #f31947;
color: $theme_color;
margin-top: 8px;
}
@@ -139,7 +139,7 @@ export default {
height: 27px;
line-height: 27px;
border-radius: 13.3px 0 0 13.3px;
background: #f31947;
background: $theme_color;
font-size: 12.6px;
text-align: center;
color: #ffffff;