add support for images (#144)
This commit is contained in:
parent
603a3e3c71
commit
9fec8df7d0
30 changed files with 1326 additions and 484 deletions
|
|
@ -3,11 +3,12 @@ package styles
|
|||
const (
|
||||
OpenCodeIcon string = "⌬"
|
||||
|
||||
CheckIcon string = "✓"
|
||||
ErrorIcon string = "✖"
|
||||
WarningIcon string = "⚠"
|
||||
InfoIcon string = ""
|
||||
HintIcon string = "i"
|
||||
SpinnerIcon string = "..."
|
||||
LoadingIcon string = "⟳"
|
||||
)
|
||||
CheckIcon string = "✓"
|
||||
ErrorIcon string = "✖"
|
||||
WarningIcon string = "⚠"
|
||||
InfoIcon string = ""
|
||||
HintIcon string = "i"
|
||||
SpinnerIcon string = "..."
|
||||
LoadingIcon string = "⟳"
|
||||
DocumentIcon string = "🖼"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -149,4 +153,3 @@ func BorderFocusedColor() lipgloss.AdaptiveColor {
|
|||
func BorderDimColor() lipgloss.AdaptiveColor {
|
||||
return theme.CurrentTheme().BorderDim()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue