feat: 实现主题管理功能,优化样式和组件

This commit is contained in:
pikachu1995@126.com
2026-07-07 10:57:04 +08:00
parent 686aed848d
commit 23e3825366
20 changed files with 183 additions and 32 deletions

View File

@@ -29,13 +29,13 @@ $uni-color-error: #dd524d;
/**微信登录按钮颜色 */
$weChat-color:#00a327;
/**主颜色*/
$main-color: #ff3c2a;
$main-color: var(--theme-primary, #ff3c2a);
/*用于金钱等颜色 */
$price-color: #ff3c2a;
$price-color: var(--theme-primary, #ff3c2a);
/*主题高亮颜色*/
$light-color: #ff6b35;
$light-color: var(--theme-light, #ff6b35);
/*辅助高亮颜色*/
$aider-light-color: #ff9f28;
$aider-light-color: var(--theme-aider, #ff9f28);
/*主题高亮背景颜色*/
$main-light-color: #edfcf7;
@@ -72,7 +72,7 @@ $font-weight: 400;
// 渐变主题颜色
.bg-linear-gradient {
background-image: linear-gradient(25deg, #fa123b, #ff6b35, #ff9f28, #ffcc03);
background-image: linear-gradient(25deg, var(--theme-primary, #fa123b), var(--theme-light, #ff6b35), var(--theme-aider, #ff9f28), #ffcc03);
}
.uni-tabbar .uni-tabbar__icon {
width: 20px;