Skip to content

Commit

Permalink
Add base16-snazzy, dracula, fruity, vim, witchhazel themes
Browse files Browse the repository at this point in the history
  • Loading branch information
paololazzari committed Jan 28, 2025
1 parent c618e1c commit 49ee8e5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"golang.org/x/term"
)

const version = "0.3.5"
const version = "0.3.6"

func completionCommand() *cobra.Command {
return &cobra.Command{
Expand Down
32 changes: 32 additions & 0 deletions src/ui/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,43 @@ type Theme struct {
}

var Themes = map[string]Theme{
"base16-snazzy": {
BackGroundColor: tcell.GetColor("#282a36"),
TitleColor: tcell.GetColor("#aa0000"),
KeywordColor: tcell.GetColor("#ff6ac1"),
TextColor: tcell.GetColor("#5af78e"),
},
"dracula": {
BackGroundColor: tcell.GetColor("#282a36"),
TitleColor: tcell.GetColor("#8be9fd"),
KeywordColor: tcell.GetColor("#ff79c6"),
TextColor: tcell.GetColor("#f1fa8c"),
BorderColor: tcell.GetColor("#f8f8f2"),
},
"fruity": {
BackGroundColor: tcell.GetColor("#111111"),
TitleColor: tcell.GetColor("#ff0086"),
KeywordColor: tcell.GetColor("#fb660a"),
TextColor: tcell.GetColor("#0086d2"),
},
"monokai": {
BackGroundColor: tcell.GetColor("#272822"),
TitleColor: tcell.GetColor("#66d9ef"),
KeywordColor: tcell.GetColor("#f92672"),
TextColor: tcell.GetColor("#e6db74"),
BorderColor: tcell.GetColor("#f8f8f2"),
},
"vim": {
BackGroundColor: tcell.GetColor("#000000"),
TitleColor: tcell.GetColor("#56d364"),
KeywordColor: tcell.GetColor("#cd00cd"),
TextColor: tcell.GetColor("#cd0000"),
},
"witchhazel": {
BackGroundColor: tcell.GetColor("#433e56"),
TitleColor: tcell.GetColor("#c2ffdf"),
KeywordColor: tcell.GetColor("#ffb8d1"),
TextColor: tcell.GetColor("#1bc5e0"),
BorderColor: tcell.GetColor("#f8f8f2"),
},
}

0 comments on commit 49ee8e5

Please sign in to comment.