From 126768d9ef06b0bfd557c93aa037ada4fe2f9ce8 Mon Sep 17 00:00:00 2001 From: Petter Rodhelind Date: Fri, 5 Mar 2021 11:09:26 +0100 Subject: Better colors. --- ui/tcell/style.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/tcell/style.go b/ui/tcell/style.go index 2249ea2..fec3390 100644 --- a/ui/tcell/style.go +++ b/ui/tcell/style.go @@ -38,25 +38,25 @@ func initStyles() error { func setStyleAcme() error { bodyStyle = tcell.StyleDefault. Background(tcell.NewHexColor(0xffffea)). - Foreground(tcell.ColorBlack) + Foreground(tcell.ColorBlack.TrueColor()) bodyCursorStyle = bodyStyle. Background(tcell.NewHexColor(0xeaea9e)) bodyHilightStyle = bodyStyle. - Background(tcell.NewHexColor(0xa6a65a)) + Background(tcell.NewHexColor(0xeeee9e)) unprintableStyle = bodyStyle. - Foreground(tcell.ColorRed) + Foreground(tcell.ColorRed.TrueColor()) tagStyle = tcell.StyleDefault. Background(tcell.NewHexColor(0xeaffff)). - Foreground(tcell.ColorBlack) + Foreground(tcell.ColorBlack.TrueColor()) tagCursorStyle = tagStyle. Background(tcell.NewHexColor(0x8888cc)). - Foreground(tcell.ColorBlack) + Foreground(tcell.ColorBlack.TrueColor()) tagHilightStyle = tagStyle. - Background(tcell.NewHexColor(0x8888cc)) + Background(tcell.NewHexColor(0x9eeeee)) tagSquareStyle = tagStyle. - Background(tcell.NewHexColor(0x8888cc)) + Background(tcell.NewHexColor(0xeaffff)) tagSquareModifiedStyle = tagStyle. - Background(tcell.NewHexColor(0x2222cc)) + Background(tcell.NewHexColor(0x000099)) vertlineStyle = bodyStyle.Reverse(false) return nil -- cgit v1.2.3