Skip to content

Commit

Permalink
Increase button contrast.
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
a-h committed Oct 5, 2020
1 parent 2ef6e8c commit 042d31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func (o *Options) Draw() {
for i, oo := range o.Options {
style := defaultStyle
if i == o.ActiveIndex {
style = defaultStyle.Background(tcell.ColorLightGray)
style = defaultStyle.Background(tcell.ColorGray)
}
NewText(o.Screen, fmt.Sprintf("[ %s ]", oo)).WithOffset(1, i+y+2).WithStyle(style).Draw()
}
Expand Down Expand Up @@ -1424,7 +1424,7 @@ func (o *Input) Draw() {
o.Screen.HideCursor()
}

activeStyle := defaultStyle.Background(tcell.ColorLightGray)
activeStyle := defaultStyle.Background(tcell.ColorGray)
okStyle := defaultStyle
if o.ActiveIndex == 1 {
okStyle = activeStyle
Expand Down

0 comments on commit 042d31c

Please sign in to comment.