Skip to content

Commit

Permalink
Feat(UI): 调整默认调色板中的白色、绿色和黄色
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Jan 29, 2020
1 parent 8131c41 commit 09bd3e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ type UI struct {
input chan string
}

func init() {
tcell.ColorValues[tcell.ColorYellow] = 0xC7C400
tcell.ColorValues[tcell.ColorWhite] = 0xC7C7C7
tcell.ColorValues[tcell.ColorGreen] = 0x00C200
}

func NewUI(config UIConfig) *UI {
return &UI{
config: config,
Expand Down

0 comments on commit 09bd3e4

Please sign in to comment.