summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/theme/manager.go
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-04-29 08:20:41 -0500
committeradamdottv <[email protected]>2025-04-30 07:46:35 -0500
commit1e958b62ad0c71331e8a45f7d19ad736ffa52d1c (patch)
tree02f083a60eb9efed9bfba2884fa3beff37c82c90 /internal/tui/theme/manager.go
parentfdf5367f4f7e42e6d42379d2f3894eba545d1e62 (diff)
downloadopencode-1e958b62ad0c71331e8a45f7d19ad736ffa52d1c.tar.gz
opencode-1e958b62ad0c71331e8a45f7d19ad736ffa52d1c.zip
feat: opencode theme (default)
Diffstat (limited to 'internal/tui/theme/manager.go')
-rw-r--r--internal/tui/theme/manager.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/tui/theme/manager.go b/internal/tui/theme/manager.go
index 161563c26..a81ba45c1 100644
--- a/internal/tui/theme/manager.go
+++ b/internal/tui/theme/manager.go
@@ -92,6 +92,11 @@ func AvailableThemes() []string {
names = append(names, name)
}
slices.SortFunc(names, func(a, b string) int {
+ if a == "opencode" {
+ return -1
+ } else if b == "opencode" {
+ return 1
+ }
return strings.Compare(a, b)
})
return names