Theme error #2842

Closed
opened 2026-02-16 17:37:30 -05:00 by yindo · 1 comment
Owner

Originally created by @Regboy744 on GitHub (Nov 13, 2025).

Description

TypeError: undefined is not an object (evaluating 'c3[mode2]')
at resolveColor (src/cli/cmd/tui/context/theme.tsx:64:25)
at (src/cli/cmd/tui/context/theme.tsx:67:18)
at map (native:1:11)
at resolveTheme (src/cli/cmd/tui/context/theme.tsx:66:57)
at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3)
at readSignal (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:660:67)
at get (src/cli/cmd/tui/context/theme.tsx:106:18)
at (src/cli/cmd/tui/app.tsx:531:17)
at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)...

OpenCode version

1.0.63

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @Regboy744 on GitHub (Nov 13, 2025). ### Description TypeError: undefined is not an object (evaluating 'c3[mode2]') at resolveColor (src/cli/cmd/tui/context/theme.tsx:64:25) at <anonymous> (src/cli/cmd/tui/context/theme.tsx:67:18) at map (native:1:11) at resolveTheme (src/cli/cmd/tui/context/theme.tsx:66:57) at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3) at readSignal (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:660:67) at get (src/cli/cmd/tui/context/theme.tsx:106:18) at <anonymous> (src/cli/cmd/tui/app.tsx:531:17) at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)... ### OpenCode version 1.0.63 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:37:30 -05:00
yindo closed this issue 2026-02-16 17:37:30 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 13, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4237: Same exact error message 'undefined is not an object (evaluating 'c3[mode2]')' in resolveColor function - this issue provides more context about it being triggered when switching to custom themes with "darkBase": "none"
  • #4250: Same error message and stack trace (closed but may contain relevant discussion)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 13, 2025): This issue might be a duplicate of existing issues. Please check: - #4237: Same exact error message 'undefined is not an object (evaluating 'c3[mode2]')' in resolveColor function - this issue provides more context about it being triggered when switching to custom themes with "darkBase": "none" - #4250: Same error message and stack trace (closed but may contain relevant discussion) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2842