diff options
Diffstat (limited to 'ui/tcell/style.go')
-rw-r--r-- | ui/tcell/style.go | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/ui/tcell/style.go b/ui/tcell/style.go index fec3390..528dbe6 100644 --- a/ui/tcell/style.go +++ b/ui/tcell/style.go @@ -25,12 +25,18 @@ var ( // initStyles initializes the different styles (colors for background/foreground). func initStyles() error { bodyStyle = tcell.StyleDefault + // bodyCursorStyle = tcell.StyleDefault bodyHilightStyle = bodyStyle.Reverse(true) - unprintableStyle = bodyStyle. - Foreground(tcell.ColorRed) + tagStyle = tcell.StyleDefault.Reverse(true) - vertlineStyle = bodyStyle.Reverse(false) + tagCursorStyle = tcell.StyleDefault.Reverse(true) + tagHilightStyle = tagStyle.Reverse(false) + tagSquareStyle = tcell.StyleDefault.Reverse(true) + tagSquareModifiedStyle = tcell.StyleDefault.Reverse(true) + vertlineStyle = bodyStyle.Reverse(false) + unprintableStyle = bodyStyle. + Foreground(tcell.ColorRed) return nil } @@ -39,8 +45,7 @@ func setStyleAcme() error { bodyStyle = tcell.StyleDefault. Background(tcell.NewHexColor(0xffffea)). Foreground(tcell.ColorBlack.TrueColor()) - bodyCursorStyle = bodyStyle. - Background(tcell.NewHexColor(0xeaea9e)) + // bodyCursorStyle = bodyStyle.Background(tcell.NewHexColor(0xeaea9e)) bodyHilightStyle = bodyStyle. Background(tcell.NewHexColor(0xeeee9e)) unprintableStyle = bodyStyle. @@ -48,9 +53,7 @@ func setStyleAcme() error { tagStyle = tcell.StyleDefault. Background(tcell.NewHexColor(0xeaffff)). Foreground(tcell.ColorBlack.TrueColor()) - tagCursorStyle = tagStyle. - Background(tcell.NewHexColor(0x8888cc)). - Foreground(tcell.ColorBlack.TrueColor()) + // tagCursorStyle = tagStyle.Background(tcell.NewHexColor(0x8888cc)).Foreground(tcell.ColorBlack.TrueColor()) tagHilightStyle = tagStyle. Background(tcell.NewHexColor(0x9eeeee)) tagSquareStyle = tagStyle. |