diff options
| author | phantomreactor <[email protected]> | 2025-05-03 01:53:58 +0530 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-02 15:29:46 -0500 |
| commit | ff0ef3bb432f1cedb6e5b8a0168bfa7c9e9e15f0 (patch) | |
| tree | e027f8eee09fafe33b98c6316d84b0f5e6a8edc0 /internal/tui/styles | |
| parent | 0095832be3b6c9ae9c45dfed70ecd22302e08dc9 (diff) | |
| download | opencode-ff0ef3bb432f1cedb6e5b8a0168bfa7c9e9e15f0.tar.gz opencode-ff0ef3bb432f1cedb6e5b8a0168bfa7c9e9e15f0.zip | |
feat: add support for images
Diffstat (limited to 'internal/tui/styles')
| -rw-r--r-- | internal/tui/styles/icons.go | 11 | ||||
| -rw-r--r-- | internal/tui/styles/styles.go | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/internal/tui/styles/icons.go b/internal/tui/styles/icons.go index 8a49fce80..684ca7152 100644 --- a/internal/tui/styles/icons.go +++ b/internal/tui/styles/icons.go @@ -3,11 +3,12 @@ package styles const ( OpenCodeIcon string = "ⓒ" - ErrorIcon string = "ⓧ" - WarningIcon string = "ⓦ" - InfoIcon string = "ⓘ" - HintIcon string = "ⓗ" - SpinnerIcon string = "⟳" + ErrorIcon string = "ⓧ" + WarningIcon string = "ⓦ" + InfoIcon string = "ⓘ" + HintIcon string = "ⓗ" + SpinnerIcon string = "⟳" + DocumentIcon string = "🖼" ) // CircledDigit returns the Unicode circled digit/number for 0‑20. diff --git a/internal/tui/styles/styles.go b/internal/tui/styles/styles.go index b2d83a523..b70aec4c7 100644 --- a/internal/tui/styles/styles.go +++ b/internal/tui/styles/styles.go @@ -5,6 +5,10 @@ import ( "github.com/opencode-ai/opencode/internal/tui/theme" ) +var ( + ImageBakcground = "#212121" +) + // Style generation functions that use the current theme // BaseStyle returns the base style with background and foreground colors |
