feat: 全站升级为雅致绿金主题#3
Merged
Merged
Conversation
墨绿为主、暖白为底、香槟金点缀(Elegant Green Gold),覆盖前台目录、 精品详情、速览、登录页与后台七模块。 - tokens.css 全量重写为绿金令牌,移除暗色媒体块,固定单一浅色主题 - 前台:搜索/分页/视图切换改墨绿,访问按钮绿系次按钮,精品卡改金细边+ 顶部短金线+浅金徽章(正文深色),到期状态改 30/7 天两级警示 - 后台:登录页深绿场景左右分栏白卡,侧栏深墨绿渐变+active 金短条, 统计卡语义细线与数值色,表格米白表头,UV 折线修复不可见 bug(白→金) - accent_color 重做:applyAccentColor 整套派生 brand 色链,历史默认色 视为未定制;0022 迁移把历史默认值归一为 #133429 - 品牌资产同步:favicon/manifest/theme-color/精品 OG 图改绿金 - CSS 清理:删除黑金/暖金历史死类与棕色系硬编码阴影,app.css 2110→1936 行,前台 CSS 产物 100.6→90.0KB - SSR 详情页同步删除遗留英文 kicker,与客户端一致 - 视觉基线 22 张按新主题重建,滚动收敛逻辑加固,全套 30 E2E 通过 Co-Authored-By: Claude Fable 5 <[email protected]>
- 0023 迁移:site_settings 中历史品牌 DOMAIN HUNTER 精确匹配修正为 WanMi(site_name)与「© WanMi · 玩米」(copyright_text) - 新增绿金品牌 public/logo.svg(与 favicon 同构):生产 logo_url 指向的 /logo.svg 不在 git 中(上次部署时构建机未跟踪文件混入产物),从 git 构建的下次部署会 404,先补位防页首 Logo 死链 - HANDOFF 补记生产核验发现与 MCP 增量备份说明 Co-Authored-By: Claude Fable 5 <[email protected]>
以 origin/main(7-19 darwin 线:布局重排/edge-cache/字体自托管/新概览)的 结构为基,重放雅致绿金色彩层: - tokens.css 绿金值 + main 令牌名超集(brand-primary-light/deep/ink、 accent、teal/cream 兼容别名全部映射绿金等价色) - app.css/admin.css 保留 main 全部结构(filter-pill/quick-actions/ tone 统计卡/expiry-cell/到期月历),硬编码棕/黑/旧金全部绿金化 - 侧栏 active 由整块金渐变改为白 10% 底+金短条(规范八.2) - 登录页应用指令七的深绿分栏结构,品牌行沿用 main 的 logo 图体系 - PublicPage 统一走 applyAccentColor 完整派生,title 恢复站名动态化 - index.html/OG/favicon/logo/manifest 品牌统一玩米/WanMi + 绿金 - 新增 0025 迁移:收敛两条迁移线的品牌与主题色终态(幂等) - E2E 品牌断言 DOMAIN HUNTER → WanMi/玩米 - 视觉基线保留 win32 绿金版;darwin 基线为 Warm Craft 旧视觉待 Mac 重建 Co-Authored-By: Claude Fable 5 <[email protected]>
- 页首/页脚/后台/加载页/SSR 的 DOMAIN HUNTER 硬编码全部改为读取 site_settings(回退玩米),manifest/OG/title 同步 - 0025 迁移收敛两条迁移线的品牌与主题色终态(幂等,远程无变化) - E2E:品牌断言改 WanMi/玩米,构建版本号断言更新,首卡日期断言 改形态匹配(本地库无注册日期数据,区间格式由单测守护), 基线 mask 补 recharts tooltip - 22 张 win32 基线按合并后结构重建;删除过时 darwin 基线(Warm Craft 旧视觉,需在 Mac 上按绿金重建) Co-Authored-By: Claude Fable 5 <[email protected]>
NextCandy
added a commit
that referenced
this pull request
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
全站由浅色暖金升级为 Elegant Green Gold 雅致绿金主题:墨绿为主(品牌/主按钮/激活态/侧栏/登录场景)、暖白米白为底、香槟金仅表达精品与重点资产(≤2% 面积)。
主要变更
tokens.css全量重写;移除暗色prefers-color-scheme媒体块,固定单一浅色主题applyAccentColor整套派生 brand 色链(strong/hover/bg/border/ring);0022迁移把历史默认值归一为#133429(沿 0014 惯例,不动真自定义色)测试
pnpm check全绿(typecheck / lint / 108 单测 / build / 859 域名验证 / 无演示数据)pnpm test:e2e30/30 通过部署注意
合并本 PR 后 CI 将自动执行
db:migrate:remote(含 0022,单条 UPDATE 归一 accent_color)并部署 Worker。合并前请先完成远程 D1 备份(pnpm db:backup)。🤖 Generated with Claude Code