Skip to content

Conversation

@veracioux
Copy link
Contributor

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

Peek.2025-11-01.13-59.mp4

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

@veracioux
Copy link
Contributor Author

@thdxr Just putting this on your radar to avoid duplication of work.

@jason0x43
Copy link

I hope this makes it in soon. I use the selenized palette in my terminal, which reverses the white and black ends of the palette in light mode. That lets properly configured apps handle light/dark theme changes in the terminal really well, but it can make light themes that use the terminal palette pretty terrible for apps that aren't setup for it. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: missing custom themes in 1.0+

2 participants