A dark blue theme for OpenCode based on the elegant Iceberg color scheme by cocopon. Designed for a calm, cool-headed coding experience.
-
Create the themes directory (if it doesn't exist):
mkdir -p ~/.config/opencode/themes -
Download the theme file:
curl -o ~/.config/opencode/themes/iceberg.json \ https://raw.githubusercontent.com/cccheng/opencode-iceberg-theme/main/.opencode/themes/iceberg.json -
Add the theme to
~/.config/opencode/opencode.json:{ "theme": "iceberg" } -
Restart OpenCode.
Alternatively, inside OpenCode type /themes and select iceberg.
| Token | Color | Hex |
|---|---|---|
| Background | #161822 |
Dark navy base |
| Panel | #1f2233 |
Elevated surface |
| Element | #3d425c |
Interactive element |
| Text | #c7c9d1 |
Foreground |
| Text Muted | #6c7189 |
Secondary text |
| Border | #454d73 |
Subtle border |
| Primary / Keyword / Type | #85a0c7 |
Blue |
| Secondary / String | #89b9c2 |
Cyan |
| Success / Diff Added | #b5bf82 |
Green |
| Accent / Warning | #e2a578 |
Orange |
| Error / Diff Removed | #e27878 |
Red |
| Number | #a093c8 |
Purple |
| Function | #a4aecc |
Light blue |
| Comment | #6c7189 |
Gray |
- Color palette: cocopon/iceberg.vim — the original Iceberg color scheme for Vim/Neovim by Hiroki Kokubun (cocopon)
- OpenCode theme structure inspired by opencode-ayu-theme and opencode-moonlight-theme
MIT License — see LICENSE.
