Answer: Set the theme mode in ~/.config/opencode/cli.json using the "mode" field: use "system" to follow your terminal's appearance, "dark" to always use the dark theme, or "light" to always use the light theme. Status: Overdue (check was due 2026-11-20T13:37:26Z and has not succeeded) Entry: tool/opencode/settings/theme-mode Revision: 1 Digest: sha256:b2cd839ae96e3b83 (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:26Z Next check: 2026-11-20T13:37:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config file | ~/.config/opencode/cli.json | [1] | 2026-11-19 mode value system | system | [1] | 2026-11-19 mode value dark | dark | [1] | 2026-11-19 mode value light | light | [1] | 2026-11-19 example config | { "theme" : { "name" : "opencode" , "mode" : "dark" } } | [1] | 2026-11-19 Sources: [1] opencode. "Themes | OpenCode". https://opencode.ai/docs/themes/ Role: primary. Accessed: 2026-11-19T13:37:26Z Quote: "~/.config/opencode/cli.json" (Supports: config file) Quote: "Use system to follow your terminal’s appearance, or lock the theme to one mode" (Supports: mode value system) Quote: "dark Always uses the dark theme." (Supports: mode value dark) Quote: "light Always uses the light theme." (Supports: mode value light) Quote: "{ "theme" : { "name" : "opencode" , "mode" : "dark" } }" (Supports: example config) 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:26Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:26Z Last attempt: 2026-11-19T13:37:26Z Notes and limitations: Extracted automatically from a single official source (section "Modes"). Related: https://latestn.com/tool/opencode/settings/upgrade-from-integration-use How do I upgrade opencode policies from integration.use? https://latestn.com/tool/opencode/settings/warming-options How do I change the warming prompt, idle interval, or active window in opencode? https://latestn.com/tool/opencode/troubleshooting/capture-heap-snapshot-profiles How do I capture a heap snapshot or CPU and memory profiles in opencode? https://latestn.com/tool/opencode/settings/switch-workspaces How do I switch between workspaces in OpenCode Console? https://latestn.com/tool/opencode/settings/system-theme-colors What does the system theme and system mode do in opencode? https://latestn.com/tool/opencode/settings/theme-cli-json How do I set the opencode theme and mode in the global CLI settings file? 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/theme-mode/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/theme-mode POST: https://latestn.com/dispute/tool/opencode/settings/theme-mode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/theme-mode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set the opencode theme mode to dark, light, or system? Revision 1, last verified 2026-11-19T13:37:26Z. https://latestn.com/tool/opencode/settings/theme-mode (accessed 2026-11-21T09:50:25Z). @misc{LatestN_tool_opencode_settings_theme_mode_r1, title = {How do I set the opencode theme mode to dark, light, or system?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/theme-mode}}, note = {Revision 1; digest sha256:b2cd839ae96e3b83; last verified 2026-11-19T13:37:26Z; accessed 2026-11-21T09:50:25Z} } 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/theme-mode