feat: 优化主题配色

This commit is contained in:
richarjiang
2026-04-05 21:35:30 +08:00
parent 4633ceea8c
commit c0e0d31ae7
25 changed files with 423 additions and 252 deletions

View File

@@ -1,16 +1,26 @@
/* uni.scss - 全局样式变量 */
$brand-color: #1a1a2e;
$brand-light: #e2d1c3;
$accent-color: #c9a87c;
$text-primary: #333333;
$text-secondary: #666666;
$text-hint: #999999;
$bg-page: #f5f5f5;
/* ── 主题色系 ───────────────────────────────────────────── */
$primary-color: #a9bfcc;
$primary-dark: #7ba5be;
$primary-light: #c8d8e4;
$primary-bg: #f0f6f9;
$primary-border: #d8eaf4;
$primary-selected-bg: #EFF6F9;
/* ── 通用 ─────────────────────────────────────────────── */
$brand-color: #4A4035;
$brand-light: #c8d8e4;
$accent-color: #7ba5be;
$text-primary: #4A4035;
$text-secondary: #7A6A5A;
$text-hint: #A09080;
$bg-page: #FAF8F5;
$bg-card: #ffffff;
$border-color: #eeeeee;
$success-color: #52c41a;
$warning-color: #faad14;
$error-color: #ff4d4f;
$border-color: rgba(180, 160, 130, 0.2);
$success-color: #7A9E7E;
$warning-color: #e8a87c;
$error-color: #C47A7A;
$radius-sm: 8rpx;
$radius-md: 16rpx;
$radius-lg: 24rpx;
@@ -19,3 +29,9 @@ $spacing-sm: 16rpx;
$spacing-md: 24rpx;
$spacing-lg: 32rpx;
$spacing-xl: 48rpx;
/* ── Shimmer animation ──────────────────────────────────── */
@keyframes shimmer {
0% { background-position: 100% 0; }
100% { background-position: -100% 0; }
}