[PR #3693] feat: Port custom themes feature to opentui #10731

Closed
opened 2026-02-16 18:15:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3693

State: closed
Merged: No


Closes #3633.

Further suggestions (out of scope of this PR)

  • Create a zod schema for a theme so we can zod.parse() to validate

Test scenarios:

See demo

https://github.com/user-attachments/assets/e233b7fd-5ade-40a2-9ad5-53dcdcaad8fe

Works with both global config and project-specific config

Also tested with multiple themes defined

Dumped all these into ~/.config/opencode/themes/: https://github.com/scaryrawr/base16-opencode/tree/main/themes. No performance issues observed.

Error scenarios

image image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3693 **State:** closed **Merged:** No --- Closes #3633. ## Further suggestions (out of scope of this PR) - Create a zod schema for a theme so we can zod.parse() to validate ## Test scenarios: ### See demo https://github.com/user-attachments/assets/e233b7fd-5ade-40a2-9ad5-53dcdcaad8fe ### Works with both global config and project-specific config ### Also tested with multiple themes defined Dumped all these into `~/.config/opencode/themes/`: https://github.com/scaryrawr/base16-opencode/tree/main/themes. No performance issues observed. ### Error scenarios <img width="1370" height="110" alt="image" src="https://github.com/user-attachments/assets/89939cca-236b-4e50-800c-b618e6e3cd40" /> <img width="706" height="123" alt="image" src="https://github.com/user-attachments/assets/1356a529-e1d2-48a2-86e8-a3de1f03e2f4" /> <img width="829" height="129" alt="image" src="https://github.com/user-attachments/assets/d9d48711-7633-49d2-ae3f-082a028a0ce5" />
yindo added the pull-request label 2026-02-16 18:15:28 -05:00
yindo closed this issue 2026-02-16 18:15:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10731