Repository navigation
/agent 回复图片:改成 Anthropic 文章配图风格的配色 - #49
Merged
Merged
Conversation
… diagrams The poster now follows the look of the diagrams on anthropic.com/engineering: an oat canvas (#F0EEE6) under an ivory card (#FAF9F5) with a 1 pt hairline, near-black ink (#141413), and clay (#D97757) as the one accent. Gradients, the card shadow and the top bar are gone. - The leading title is no longer a banner: a serif display face (Songti SC Black, falling back to bold PingFang) in ink, with a short clay rule below. - Section headings and bold words are ink; section rules, bullet dots and the quote rule are clay. Link words use a darker clay (#B85432, 4.6:1 on ivory). - Numbered badges are pale clay pills with a clay outline and clay digits. - Code blocks are light (oat with a hairline, ink text); quotes are oat. Layout, scale, thresholds and the document format are unchanged. The macOS render test now checks the new bullet and badge colors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pic 文章配图风格的暖色配色 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
做了什么
/agent长回复转成的海报图片原来是蓝色渐变风格,这次参考 anthropic.com 工程博客配图的风格,换成暖色、平面的配色。只改core/openmate_core/cards.py里 Swift 渲染器的颜色和装饰,排版、分辨率、转图片的条件和文档格式都没动。#F0EEE6纯色底,象牙色#FAF9F5卡片加 1pt 细描边,去掉阴影和色条#141413宋体标题(找不到宋体时退回粗体苹方),下面一条陶土色#D97757短横线#B85432,在象牙底上对比度 4.6:1色值是从 Anthropic 三篇工程博客的 24 张配图里统计出来的。
怎么验证的
bash scripts/test.sh:三组测试全部通过(849 / 308 / 186,跳过 2 个)。最后的包校验报差异,因为当时还没升版本号,发版提交会处理。没做什么
🤖 Generated with Claude Code