feat(architecture): take rendered-page tokens and branding from the shared layer

未关闭
#19,174 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
56/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, html, javascript
领域
design, frontend

调研方向

Read ADR 0133, Decision 8, and inspect scripts/shared-copies.txt, templates/map-view.html, and scripts/deepening-report.mjs. Check how the token drift test and existing page tests work, then build both pages with and without a branding override. Done means both pages use the shared tokens and resolved branding, existing appearance is preserved without branding, the listed UI checks pass, and architecture is removed from the drift allowlist.

由索引模型根据 Issue 内容生成。

描述

Problem

ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 8) puts architecture in the first wave because it carries the chrome
(scripts/shared-copies.txt:647). Its page sources, templates/map-view.html and the deepening
report built by scripts/deepening-report.mjs, define their own scheme flip and do not apply a
consumer's branding.

Done when

  • architecture registers reference/html-tokens.css in scripts/shared-copies.txt, and the copy is generated.
  • The map view and the deepening report take palette and stacks from the token layer and apply the resolved branding overrides, with the logo in the chrome bar's fixed slot when one is set.
  • With no branding set, both pages look as they do today.
  • Tests build each page with a branding override and check the override, the toggle, the comment box and the floor.
  • architecture is removed from the token drift check's allowlist.

Related

  • Refs: #16412 (design and decisions)
  • Blocked by: #19170
主要语言
Shell
星标
22
派生
2
平均合并
2 小时 1 分钟
30 天内合并 PR
972

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。