统一 Salon 全端薄荷绿主题

This commit is contained in:
2026-10-20 17:54:09 +08:00
parent 274c6af30b
commit 527754af02
47 changed files with 419 additions and 382 deletions
+38 -31
View File
@@ -1,7 +1,14 @@
page {
min-height: 100%;
background: #f8f5ef;
color: #26231f;
--theme-primary: #247b63;
--theme-primary-soft: #e5f4ed;
--theme-page-bg: #f3f7f4;
--theme-card-bg: #ffffff;
--theme-border: #e7ece9;
--text-primary: #17211f;
--text-secondary: #71807a;
background: var(--theme-page-bg);
color: var(--text-primary);
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 28rpx;
}
@@ -32,7 +39,7 @@ button::after {
.page {
min-height: 100vh;
padding: 22rpx 24rpx 140rpx;
background: #f8f5ef;
background: var(--theme-page-bg);
}
.page.no-tab {
@@ -40,10 +47,10 @@ button::after {
}
.card {
border: 1rpx solid rgba(50, 43, 34, 0.06);
border: 1rpx solid var(--theme-border);
border-radius: 12px;
background: #fffdf8;
box-shadow: 0 10rpx 28rpx rgba(58, 48, 34, 0.06);
background: var(--theme-card-bg);
box-shadow: 0 10rpx 28rpx rgba(23, 33, 31, 0.06);
}
.section {
@@ -52,7 +59,7 @@ button::after {
.section-title {
margin: 4rpx 4rpx 16rpx;
color: #4c4740;
color: var(--text-primary);
font-size: 28rpx;
font-weight: 700;
}
@@ -67,7 +74,7 @@ button::after {
}
.muted {
color: #9d968e;
color: var(--text-secondary);
}
.tag {
@@ -76,8 +83,8 @@ button::after {
min-height: 40rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: #f0ece5;
color: #6d675f;
background: var(--theme-primary-soft);
color: var(--text-secondary);
font-size: 22rpx;
font-weight: 600;
}
@@ -104,15 +111,15 @@ button::after {
}
.primary-btn {
background: #6f8f83;
color: #fffdf8;
box-shadow: 0 12rpx 24rpx rgba(111, 143, 131, 0.22);
background: var(--theme-primary);
color: #ffffff;
box-shadow: 0 12rpx 24rpx rgba(36, 123, 99, 0.22);
}
.secondary-btn {
border: 1rpx solid #d8d1c8;
background: #fffdf8;
color: #514b44;
border: 1rpx solid var(--theme-border);
background: var(--theme-card-bg);
color: var(--text-primary);
}
.danger-btn {
@@ -125,7 +132,7 @@ button::after {
min-width: 0;
max-width: none;
min-height: 56rpx;
color: #6f8f83;
color: var(--theme-primary);
font-size: 26rpx;
}
@@ -140,8 +147,8 @@ button::after {
height: 56rpx;
padding: 0 20rpx;
border-radius: 999rpx;
background: #e5eee9;
color: #55786d;
background: var(--theme-primary-soft);
color: var(--theme-primary);
font-size: 24rpx;
font-weight: 800;
}
@@ -151,8 +158,8 @@ button::after {
min-width: 104rpx;
max-width: 112rpx;
height: 52rpx;
background: #f0ece5;
color: #5f5951;
background: var(--theme-primary-soft);
color: var(--text-secondary);
}
.icon-btn {
@@ -166,9 +173,9 @@ button::after {
min-height: 64rpx;
padding: 0;
border-radius: 50%;
background: #fffdf8;
color: #4e4942;
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.05);
background: var(--theme-card-bg);
color: var(--text-primary);
box-shadow: 0 6rpx 14rpx rgba(23, 33, 31, 0.05);
}
.form-card {
@@ -179,7 +186,7 @@ button::after {
display: flex;
align-items: center;
min-height: 108rpx;
border-bottom: 1rpx solid #eee8df;
border-bottom: 1rpx solid var(--theme-border);
}
.field:last-child {
@@ -188,7 +195,7 @@ button::after {
.field-label {
width: 180rpx;
color: #625c55;
color: var(--text-secondary);
font-size: 26rpx;
font-weight: 600;
}
@@ -196,7 +203,7 @@ button::after {
.field-label.required::after,
.required-label::after {
content: " *";
color: #c56f36;
color: #e98669;
font-weight: 900;
}
@@ -204,7 +211,7 @@ button::after {
.field textarea,
.field-value {
flex: 1;
color: #27231f;
color: var(--text-primary);
font-size: 28rpx;
}
@@ -220,7 +227,7 @@ button::after {
left: 0;
z-index: 20;
padding: 14rpx 24rpx calc(14rpx + env(safe-area-inset-bottom));
background: #f8f5ef;
background: var(--theme-page-bg);
}
.fab {
@@ -238,12 +245,12 @@ button::after {
min-height: 84rpx;
padding: 0;
border-radius: 50%;
background: #6f8f83;
background: var(--theme-primary);
color: #fff;
font-size: 46rpx;
font-weight: 300;
line-height: 84rpx;
box-shadow: 0 12rpx 26rpx rgba(111, 143, 131, 0.24);
box-shadow: 0 12rpx 26rpx rgba(36, 123, 99, 0.24);
}
.list {