aboutsummaryrefslogtreecommitdiff
path: root/ui/tcell/style.go
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2021-03-06 20:14:06 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2021-03-06 20:14:06 +0100
commita0591e399d5228ce27a2ca55acb5376c2b76ccac (patch)
tree7a33238367ff49288c3b0cd627588e5119613ae6 /ui/tcell/style.go
parent816aa1dd19ca760a94bb7b9d54e768c6aa3af332 (diff)
downloadpoe-master.tar.gz
poe-master.tar.bz2
poe-master.zip
Manage columns in a sane way.HEADmasterdev
Diffstat (limited to 'ui/tcell/style.go')
-rw-r--r--ui/tcell/style.go19
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.