3f176924d0
部署到群晖 / deploy (push) Successful in 43s
旧版多处违反 impeccable 设计规范(gradient text、6rpx 粗色条 border-left、 glassmorphism、bounce 动画)且整体呈现典型「AI/SaaS 通用紫渐变」(#6366f1 系、 #667eea 系),用户反馈「AI 味儿太浓」。 色板(OKLCH 概念,hex 落地): - 背景:浅米黄 #FAF6ED - 主文字:深墨蓝 #1F1D2B - 暖灰副文字:#8A8278 - 强调(仅 today / FAB):墨红 #C8412F 涉及改动: - app.wxss:删模板自带 .container padding 200rpx(首页/日历顶部空白真凶)+ 重写全局色板 - index.wxml/wxss:去紫渐变 Header + glassmorphism stats + border-left 大色条 + bounce - calendar.wxml/wxss/json:去紫渐变月份头 + today 大色块 + section-title 6rpx 紫条 - settings.wxss:同款紫 Header + tips-card 6rpx 紫条 → 全卡边线 + 浅暖底 - add-anniversary.wxss:chip-active 紫 / 取消提交按钮渐变 / importance 高饱和色 → 统一 - add-person.wxss:gradient text + 紫 dashed 头像占位 + 多重渐变 → 全套重写 - person-detail.wxss:微信绿 + 灰底默认色 → 方向 A 色板 - utils/constants.js:IMPORTANCE_COLORS 高/中/低 = 墨红/焦糖/苔绿(替代橙红/橘/鲜绿) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
92 lines
1.6 KiB
Plaintext
92 lines
1.6 KiB
Plaintext
/**app.wxss
|
|
* 全局基础样式 —— 纸感编辑风(A 方案)
|
|
* 色板:浅米黄底 + 墨蓝文字 + 暖灰副文字 + 墨红强调
|
|
* 注:每个页面可在自己的 wxss 里覆盖;这里只做"全局兜底"
|
|
*/
|
|
|
|
page {
|
|
background: #FAF6ED;
|
|
color: #1F1D2B;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
|
|
'Microsoft YaHei', system-ui, sans-serif;
|
|
}
|
|
|
|
/* 通用容器:不设 padding,每页根据需要自定 */
|
|
.container {
|
|
min-height: 100vh;
|
|
background-color: #FAF6ED;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 通用内容包装 */
|
|
.content {
|
|
padding: 32rpx 24rpx;
|
|
}
|
|
|
|
/* 按钮 */
|
|
.btn {
|
|
border-radius: 12rpx;
|
|
font-size: 30rpx;
|
|
padding: 22rpx 36rpx;
|
|
transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #1F1D2B;
|
|
color: #FAF6ED;
|
|
}
|
|
|
|
.btn-primary:active {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #FFFFFF;
|
|
color: #1F1D2B;
|
|
border: 1rpx solid #E8E2D5;
|
|
}
|
|
|
|
.btn-secondary:active {
|
|
background-color: #F2EEE5;
|
|
}
|
|
|
|
/* 输入框 */
|
|
.input {
|
|
background-color: #FFFFFF;
|
|
border: 1rpx solid #E8E2D5;
|
|
padding: 22rpx 24rpx;
|
|
border-radius: 12rpx;
|
|
font-size: 28rpx;
|
|
color: #1F1D2B;
|
|
transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: #1F1D2B;
|
|
}
|
|
|
|
/* 分割线 */
|
|
.divider {
|
|
height: 1rpx;
|
|
background: #E8E2D5;
|
|
margin: 28rpx 0;
|
|
}
|
|
|
|
/* 通用空状态 */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 120rpx 40rpx;
|
|
}
|
|
|
|
.empty-state .icon {
|
|
font-size: 104rpx;
|
|
margin-bottom: 24rpx;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.empty-state .text {
|
|
font-size: 26rpx;
|
|
color: #A9A096;
|
|
line-height: 1.6;
|
|
}
|