From 042d31cdff6f3d88b9f633b796b3c09dc95ba1db Mon Sep 17 00:00:00 2001 From: Adrian Hesketh Date: Mon, 5 Oct 2020 19:39:40 +0100 Subject: [PATCH] Increase button contrast. Fixes #2 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ff6696e..3b5a702 100644 --- a/main.go +++ b/main.go @@ -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() } @@ -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