feat: add bluloco theme
What does this PR do?
Add bluloco theme
How did you verify your code works?
I just added it where other themes reside, I did not test it in this branch actually. But i tested it locally as a custom theme. If I should test it still, let me know, ty.
fixes #8653
Hey! Your PR title Add bluloco theme doesn't follow conventional commit format.
Please update it to start with one of:
-
feat:orfeat(scope):new feature -
fix:orfix(scope):bug fix -
docs:ordocs(scope):documentation changes -
chore:orchore(scope):maintenance tasks -
refactor:orrefactor(scope):code refactoring -
test:ortest(scope):adding or updating tests
Where scope is the package name (e.g., app, desktop, opencode).
See CONTRIBUTING.md for details.
The following comment was made by an LLM, it may be inaccurate:
No duplicate PRs found
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number>orCloses #<number>to this PR description
See CONTRIBUTING.md for details.
Code review
Found 1 issue:
- Theme not registered in theme.tsx - missing import and DEFAULT_THEMES entry
The bluloco.json file was added but is not imported or registered in packages/opencode/src/cli/cmd/tui/context/theme.tsx. Without registration, the theme will not appear in the theme list and cannot be selected by users.
Evidence: All previous theme additions modified theme.tsx to:
- Add an import statement (around line 6-37):
import bluloco from "./theme/bluloco.json" with { type: "json" } - Add to DEFAULT_THEMES object (around line 140-173):
bluloco,
Examples from git history:
- Osaka theme (commit 268de2a3): https://github.com/anomalyco/opencode/commit/268de2a3d9bb5d31766b6e9fae6e3a2fc3c8754e
- Vercel theme (commit ada7cca10): https://github.com/anomalyco/opencode/commit/ada7cca109a88e45fb643239c6c0788c3be4b8c6
Required fix: Modify packages/opencode/src/cli/cmd/tui/context/theme.tsx to:
- Add import:
import bluloco from "./theme/bluloco.json" with { type: "json" } - Add to DEFAULT_THEMES:
bluloco,
🤖 Generated with Claude Code
- If this code review was useful, please react with 👍. Otherwise, react with 👎.