Answer: Use the theme tool to create or edit themes, which makes it easy to understand the structure, change it, and define custom colors. A theme separates shared semantic tokens in base from mode-specific palettes in light and dark. Status: Confirmed Entry: tool/opencode/features/create-custom-theme Revision: 2 Digest: sha256:580ca373f3f8bd76 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:26Z Last changed: 2026-11-18T13:38:48Z (hue steps: — → 100 , 200 , 300 , 400 , 500 , 600 , 700 , 800 , 900) Last verified: 2026-11-20T13:45:18Z Next check: 2026-11-21T13:45:18Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of tool | theme tool | [1] | 2026-11-20 base section | The complete token tree shared by every mode. | [1] | 2026-11-20 mode sections | A complete hue palette and optional token overrides for that mode. | [1] | 2026-11-20 minimum modes | at least one of light or dark | [1] | 2026-11-20 schema URL | https://opencode.ai/theme.json | [1] | 2026-11-20 hue steps | 100 , 200 , 300 , 400 , 500 , 600 , 700 , 800 , 900 | [1] | 2026-11-20 Sources: [1] opencode. "CLI theme | OpenCode". https://opencode.ai/docs/cli/theme/ Role: primary. Accessed: 2026-11-20T13:45:18Z Quote: "Use our theme tool to create or edit themes." (Supports: tool) Quote: "base The complete token tree shared by every mode." (Supports: base section) Quote: "light , dark A complete hue palette and optional token overrides for that mode." (Supports: mode sections) Quote: "Every theme provides a complete base and defines at least one of light or dark ." (Supports: minimum modes) Quote: ""$schema" : "https://opencode.ai/theme.json"" (Supports: schema URL) Quote: "Step 100 , 200 , 300 , 400 , 500 , 600 , 700 , 800 , 900" (Supports: hue steps) Snapshot SHA-256: 6244ffebcf1b4dd1937ec4d448f596ffc4baf071af39de53abae60d12984cf63 (captured 2026-11-18T13:38:48Z) 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-18T13:38:48Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:18Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:18Z Last attempt: 2026-11-20T13:45:18Z Notes and limitations: Extracted automatically from a single official source (section "Creating a theme"). Related: https://latestn.com/tool/opencode/features/effect-plugin-hooks What hooks does the opencode Effect plugin API provide for sessions, shell, and tools? https://latestn.com/tool/opencode/features/effect-plugin-lifecycle-scope What is the plugin lifecycle and Scope in opencode's Effect plugin API? https://latestn.com/tool/opencode/features/glob-file-patterns How do I find files by pattern with opencode's glob tool? https://latestn.com/tool/opencode/features/attach-reference-alias How do I attach a reference alias in the opencode client? https://latestn.com/tool/opencode/features/builtin-formatters Which built-in formatters does opencode include? https://latestn.com/tool/opencode/features/builtin-themes Which built-in themes does opencode include? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:38:48Z | changed | hue steps: — → 100 , 200 , 300 , 400 , 500 , 600 , 700 , 800 , 900 | [1] 2026-11-18T13:38:48Z | changed | schema URL: — → https://opencode.ai/theme.json | [1] 2026-11-18T13:38:48Z | changed | minimum modes: — → at least one of light or dark | [1] 2026-11-18T13:38:48Z | changed | mode sections: — → A complete hue palette and optional token overrides for that mode. | [1] 2026-11-18T13:38:48Z | changed | base section: — → The complete token tree shared by every mode. | [1] 2026-11-18T13:38:48Z | changed | tool: — → theme tool | [1] 2026-11-18T13:38:48Z | changed | schema: https://opencode.ai/theme.json → — | [1] 2026-11-18T13:38:48Z | changed | recommended step: Use the theme editor to generate a complete file before customizing it. → — | [1] 2026-11-18T13:38:48Z | changed | tool purpose: This tool makes it easy to understand the structure, change it, and define custom colors. → — | [1] 2026-11-18T13:38:48Z | changed | method: Use our theme tool to create or edit themes. → — | [1] 2026-11-13T03:56:26Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/features/create-custom-theme/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/features/create-custom-theme POST: https://latestn.com/dispute/tool/opencode/features/create-custom-theme with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/features/create-custom-theme?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a custom theme for opencode? Revision 2, last verified 2026-11-20T13:45:18Z. https://latestn.com/tool/opencode/features/create-custom-theme (accessed 2026-11-21T09:50:26Z). @misc{LatestN_tool_opencode_features_create_custom_theme_r2, title = {How do I create a custom theme for opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/features/create-custom-theme}}, note = {Revision 2; digest sha256:580ca373f3f8bd76; last verified 2026-11-20T13:45:18Z; accessed 2026-11-21T09:50:26Z} } 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/features/create-custom-theme