feat: opencode theme (default)

This commit is contained in:
adamdottv
2025-04-29 08:20:41 -05:00
parent fdf5367f4f
commit 1e958b62ad
5 changed files with 400 additions and 114 deletions

View File

@@ -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