Answer: To create a global theme named ocean, use the theme tool to generate a complete file in the global theme directory, e.g. ~/.config/opencode/themes/ocean.json. The format is JSON, since OpenCode reads .json files only. Status: Overdue (check was due 2026-11-20T13:37:28Z and has not succeeded) Entry: tool/opencode/settings/custom-theme-files Revision: 1 Digest: sha256:5ba0d8a674516575 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:58:14Z Last changed: 2026-11-13T03:58:14Z Last verified: 2026-11-19T13:37:28Z Next check: 2026-11-20T13:37:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file path | ~/.config/opencode/themes/ocean.json | [1] | 2026-11-19 format | .json | [1] | 2026-11-19 theme name source | .json | [1] | 2026-11-19 project directory | .opencode/themes/ | [1] | 2026-11-19 Sources: [1] opencode. "Themes | OpenCode". https://opencode.ai/docs/themes/ Role: primary. Accessed: 2026-11-19T13:37:28Z Quote: "~/.config/opencode/themes/ocean.json" (Supports: file path) Quote: "OpenCode reads .json files only." (Supports: format) Quote: "The filename, without .json , is the theme name." (Supports: theme name source) Quote: "Project .opencode/themes/ in the project tree" (Supports: project directory) Snapshot SHA-256: 6fb38e5f5e64f343ed99a59ca22f3159be735a959f19cdad7a294c7ea7213f23 (captured 2026-11-13T03:58:14Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:58:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:28Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:28Z Last attempt: 2026-11-19T13:37:28Z Notes and limitations: Extracted automatically from a single official source (section "Files"). Related: https://latestn.com/tool/opencode/settings/default-web-port What is the default port for the opencode web server? https://latestn.com/tool/opencode/settings/disable-formatters How do I disable formatters in opencode? https://latestn.com/tool/opencode/settings/disable-plugins-wildcard How do I disable a plugin in opencode using a wildcard or minus prefix? https://latestn.com/tool/opencode/settings/configure-web-ui How do I configure the opencode web UI? https://latestn.com/tool/opencode/settings/custom-formatters How do I add a custom formatter in opencode? https://latestn.com/tool/opencode/settings/custom-provider-endpoint How do I configure a custom provider endpoint in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:58:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/custom-theme-files/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/settings/custom-theme-files POST: https://latestn.com/dispute/tool/opencode/settings/custom-theme-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/custom-theme-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a custom theme file for opencode and what format does it use? Revision 1, last verified 2026-11-19T13:37:28Z. https://latestn.com/tool/opencode/settings/custom-theme-files (accessed 2026-11-21T09:50:35Z). @misc{LatestN_tool_opencode_settings_custom_theme_files_r1, title = {How do I create a custom theme file for opencode and what format does it use?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/custom-theme-files}}, note = {Revision 1; digest sha256:5ba0d8a674516575; last verified 2026-11-19T13:37:28Z; accessed 2026-11-21T09:50:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/settings/custom-theme-files