先保存原来的主题
打开 Codex 的 Settings → Appearance(设置 → 外观)。分别在 Light theme 与 Dark theme 中使用 Copy theme,保存原始代码,方便恢复。
Explore palettes, compare fonts, and fine-tune your Codex
Click a swatch or enter a six-digit HEX color. Edits update the preview and switch the export to that mode. Adjustments stay per preset until you reload.
Installed on the source Mac · local fonts only · Codex acceptance unverified. A / 永 indicate tested glyph coverage; missing glyphs may use a fallback.
No matching fonts. Change the search or coverage filter.
先选模式,再复制代码,最后在对应入口导入。几分钟,为你的工作台换一种笔触。
打开 Codex 的 Settings → Appearance(设置 → 外观)。分别在 Light theme 与 Dark theme 中使用 Copy theme,保存原始代码,方便恢复。
回到「配色藏馆」,选择配色,在「主题代码」下拉框选择深色或浅色。点击预览下方的色块或输入 HEX 色号,可以分别微调背景、文字和强调色;编辑会自动切换导出模式。「恢复预设」只重置对应模式的颜色。真正复制的是下拉框当前选定的模式。
点击「复制主题代码」。内容必须包含 codex-theme-v1: 前缀以及后面的完整 JSON,不要连同 Markdown 代码框或说明文字一起复制。
回到 Appearance,在对应的 Dark theme 或 Light theme 区域点击 Import,粘贴代码并确认。再把顶部 Theme 切到对应模式,检查实际效果。
"variant": "dark"导入后切换到 Dark 查看。System 模式下,当前外观跟随系统,刚修改的深色主题可能暂时不会显示。
"variant": "light"导入后切换到 Light 查看。Light 和 Dark 的设置相互独立,一份代码并不同时配置两种模式。
贴错入口时,当前核实版本会拒绝导入,按钮可能保持灰色。请换到匹配的入口。不要只改 variant:背景、文字及 codeThemeId 也要适用于目标模式。
从 Codex 对应模式复制主题,在配色页展开「使用我导出的主题作为底稿」,粘贴并点击「使用此底稿」。本站只替换背景、文字、强调色,保留底稿中的字体、代码主题及其他字段;不会添加字号字段。
默认深色代码沿用创作时提供的 Times New Roman 配置。默认浅色代码是从深色底稿派生的草稿,代码主题可能不兼容浅色入口。最稳妥的方式是先导出你自己的 Light theme,再作为浅色底稿使用。
依次检查:深浅入口是否匹配 → 是否包含完整前缀和 JSON → 是否误带反引号、智能引号或多余说明 → 代码主题是否支持该模式。仍不行时,用当前 Codex 导出的同模式主题作为底稿重新生成。本站检查不能代替 Codex 的完整兼容性验证。
检查顶部 Theme 选择的是 Light、Dark 还是 System。你可能修改了当前没有启用的那一套;先显式切换到对应模式查看。
字体图鉴记录的是来源 Mac 上的字体,并不附带字体文件,也不是 Codex 保证支持的字体列表。你的设备需要安装相应字体;A / 永 只代表这两个字形的检测结果。缺失中文会由其他字体补上。图鉴中的字号和「复制字体名称」不会自动修改导出的主题。
不会。签名图与金属高光属于本网站的设计。主题代码提供纯色配置,Codex 的布局、透明效果和代码高亮由应用本身决定。
将第一步保存的原始代码导入对应的 Light 或 Dark 入口;两种模式分别恢复。也可以在应用内选择内置主题。
核实于 2026-09-18。设置入口参考 OpenAI 官方外观设置说明;模式不匹配与代码主题检查已对照本机安装版本的导入逻辑,其他版本的提示方式可能不同。本指南不代表全部主题已通过实际导入测试。
Choose a mode, copy the code, then import it into the matching appearance section.
Open Codex Settings → Appearance. Use Copy theme in both Light theme and Dark theme, and save each original code so you can restore it later.
In Palettes & codes, choose a palette and select Dark or Light in the Theme code menu. Click a swatch or enter a HEX color to adjust background, foreground and accent independently. Editing switches the export to that mode; Reset colors restores that mode’s preset colors. The menu determines which mode you copy.
Click Copy theme code. Include the codex-theme-v1: prefix and the complete JSON that follows it. Do not include Markdown fences or explanatory text.
In Appearance, click Import under the matching Dark theme or Light theme section. Paste and confirm, then switch the top-level Theme setting to that mode to inspect the result.
"variant": "dark"Switch to Dark to see your changes. With System selected, the active appearance follows your operating system and may not show the theme you just edited.
"variant": "light"Switch to Light to see your changes. Light and Dark settings are independent; one code does not configure both modes.
In the inspected version, a mode mismatch is rejected and Import may remain disabled. Use the matching destination. Changing only variant is not a conversion: colors and codeThemeId also need to suit the target mode.
Copy a theme from the matching mode in Codex. In the palette page, expand Use my own exported theme as the base, paste it and click Use this base. This site changes only background, foreground and accent; other base fields, including fonts and code theme, are preserved. No font-size fields are added.
The default dark code uses the Times New Roman settings supplied during creation. The default light code is a draft derived from that dark base; its code theme may be incompatible with the light importer. Start with your own Light theme export for the most reliable light-mode workflow.
Check the matching mode, complete prefix and JSON, accidental backticks or smart quotes, and whether the code theme supports that mode. If it still fails, regenerate from a same-mode export made by your current Codex version. Website checks cannot replace full validation in Codex.
Check whether the top-level Theme setting is Light, Dark or System. You may have edited the inactive mode. Select the matching mode explicitly to inspect it.
The cabinet lists fonts from the source Mac, not a guaranteed Codex font catalog, and does not bundle font files. Fonts must be installed on your device. A / 永 test only those individual glyphs; missing Chinese characters can use fallback fonts. Cabinet preview size and Copy family do not automatically change the exported theme.
No. The signature image and metallic effects belong to this website. Theme codes supply flat colors; Codex controls its own layout, transparency and syntax highlighting.
Import the original saved code into its matching Light or Dark section. Restore each mode separately, or select a built-in theme in the app.
Checked 2026-09-18. Navigation is based on OpenAI appearance documentation. Mode and code-theme validation were checked in the locally installed app implementation; messages may vary by version. This guide does not certify that every theme has passed a live import test.