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.

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+

1 participant