summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/tui/internal/config/config.go2
-rw-r--r--packages/tui/internal/theme/manager.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/tui/internal/config/config.go b/packages/tui/internal/config/config.go
index 687685df3..29db8657e 100644
--- a/packages/tui/internal/config/config.go
+++ b/packages/tui/internal/config/config.go
@@ -18,7 +18,7 @@ type State struct {
func NewState() *State {
return &State{
- Theme: "system",
+ Theme: "opencode",
}
}
diff --git a/packages/tui/internal/theme/manager.go b/packages/tui/internal/theme/manager.go
index 583e8c491..420b96dea 100644
--- a/packages/tui/internal/theme/manager.go
+++ b/packages/tui/internal/theme/manager.go
@@ -93,14 +93,14 @@ func AvailableThemes() []string {
names = append(names, name)
}
slices.SortFunc(names, func(a, b string) int {
- if a == "system" {
+ if a == "opencode" {
return -1
- } else if b == "system" {
+ } else if b == "opencode" {
return 1
}
- if a == "opencode" {
+ if a == "system" {
return -1
- } else if b == "opencode" {
+ } else if b == "system" {
return 1
}
return strings.Compare(a, b)