Anthropic Claude Code上线自定义主题功能
Anthropic just shipped 𝗰𝘂𝘀𝘁𝗼𝗺 𝘁𝗵𝗲𝗺𝗲𝘀 for the Claude Code desktop app, and the do…
不仅介绍了新功能,还直接给出了可复现的 Prompt 模板,展示了如何利用 AI 插件完成个性化配置,结构清晰且具备实操参考价值。
Anthropic just shipped 𝗰𝘂𝘀𝘁𝗼𝗺 𝘁𝗵𝗲𝗺𝗲𝘀 for the Claude Code desktop app, and the docs are out too. Because every theme is code, you can change one color, one background or the speed of an animation, and 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴 𝗲𝗹𝘀𝗲 𝘀𝘁𝗮𝘆𝘀 𝘂𝗻𝘁𝗼𝘂𝗰𝗵𝗲𝗱. You can have Fable 5.2 follow the docs to go through your project, find the colors it already uses, and build 𝗮 𝗺𝗮𝘁𝗰𝗵𝗶𝗻𝗴 𝘁𝗵𝗲𝗺𝗲 𝗳𝗼𝗿 𝘆𝗼𝘂𝗿 𝗖𝗹𝗮𝘂𝗱𝗲 𝗖𝗼𝗱𝗲.
Anthropic 刚刚为 Claude Code 桌面应用推出了自定义主题,文档也已发布。由于每个主题都是代码,你可以更改一种颜色、一个背景或动画的速度,而其余部分保持不变。你可以让 Fable 5.2 根据文档浏览你的项目,找出它已使用的颜色,并为你构建一个与 Claude Code 相匹配的主题。
A theme is a mod that Claude writes. Give it a few main colors and it fills in the rest of the interface for light mode and dark mode, and it can add an animated background behind the conversation. The docs suggest you just describe the colors you want, like "cream in light mode and dark brown in dark mode". Update the desktop app to the latest version first. Themes work only in local sessions in the desktop app for now, with cloud sessions coming soon.
主题是由 Claude 编写的一种模组(mod)。给它几个主色调,它就会填充浅色模式和深色模式的其余界面,并且可以为对话添加动态背景。文档建议只需描述你想要的颜色,例如“浅色模式下用奶油色,深色模式下用深棕色”。请先将桌面应用更新到最新版本。目前主题仅在桌面应用的本地会话中有效,云端会话即将推出。
Send this prompt to Fable 5.2 in the desktop app 👇
在桌面应用中向 Fable 5.2 发送以下提示 👇
"Read this doc: https://code.claude.com/docs/en/plugins/mods/interface
"阅读此文档:https://code.claude.com/docs/en/plugins/mods/interface"
Then follow its approach and go through this project's DESIGN.md, CSS variables, Tailwind config and landing page. Propose three themes for the Claude Code desktop app: 1. One built on the project's own brand colors, like the landing page's main color and background color. 2. One for long late-night sessions, like the same colors turned down so they're easy on the eyes. 3. One with an animated background that has something to do with what this product does. If the project has no design to work from, just say so. Don't force it.
然后按照其方法,浏览该项目的 DESIGN.md、CSS 变量、Tailwind 配置和着陆页。为 Claude Code 桌面应用提出三个主题: 1. 基于项目自身品牌色的主题,如着陆页的主颜色和背景色。 2. 适用于深夜长时间会话的主题,如将相同颜色调暗以减轻视觉疲劳。 3. 带有动态背景的主题,背景内容与该产品功能相关。 如果项目没有可供参考的设计规范,请直接说明。不要强行编造。
For each theme, follow the docs: give the hex values for the background, main text and faint text in both light mode and dark mode. For the one with a background scene, describe the scene in one sentence. Start every color from colors the project already uses. Rank the themes by how well they'd work for long daily use.
对于每个主题,请遵循文档要求:提供浅色模式和深色模式下的背景、主要文本和次要文本的十六进制颜色值。对于带有背景场景的主题,用一句话描述该场景。所有颜色都应从项目已使用的颜色开始。根据这些主题在日常长期使用中的适用性进行排名。
After I pick one, build it as a mod with all the colors kept in one place. Later, when I say 'make the background warmer' or 'make the faint text brighter', change only that one thing. When it's done, run makeColors and fix every problem it reports, then put the mod's directory under ~/.claude/skills/ so it loads in every local session.
在我选定一个后,将其构建为一个模组,并将所有颜色集中管理。之后,当我输入“使背景更暖”或“使次要文本更亮”时,仅更改那一项。完成后,运行 makeColors 并修复它报告的所有问题,然后将模组的目录放入 ~/.claude/skills/ 下,以便在每个本地会话中加载。
Show me the three palettes first. Don't build anything until I pick."
先向我展示这三个配色方案。在我选定之前,不要构建任何内容。"
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力