aboutsummaryrefslogtreecommitdiff
path: root/ui/tcell/style.go
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2018-03-16 12:33:26 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2018-03-16 12:33:26 +0100
commitfea1a1adbb03d657724be9b9994ba6b11dfe625f (patch)
tree59632674ec570a8f1db6d3154ce49b255ac63b6e /ui/tcell/style.go
parent2395485d075f80117fe3ce25ef339bb1ffecf160 (diff)
downloadpoe-fea1a1adbb03d657724be9b9994ba6b11dfe625f.tar.gz
poe-fea1a1adbb03d657724be9b9994ba6b11dfe625f.tar.bz2
poe-fea1a1adbb03d657724be9b9994ba6b11dfe625f.zip
Redesign.
Diffstat (limited to 'ui/tcell/style.go')
-rw-r--r--ui/tcell/style.go23
1 files changed, 14 insertions, 9 deletions
diff --git a/ui/tcell/style.go b/ui/tcell/style.go
index 0dcb565..a179c1f 100644
--- a/ui/tcell/style.go
+++ b/ui/tcell/style.go
@@ -24,19 +24,24 @@ var (
// initStyles initializes the different styles (colors for background/foreground).
func initStyles() error {
- bodyStyle = tcell.StyleDefault.
- Background(tcell.NewHexColor(0xffffea)).
- Foreground(tcell.ColorBlack)
+ bodyStyle = tcell.StyleDefault
+
+ // bodyStyle = tcell.StyleDefault.
+ // Background(tcell.NewHexColor(0xffffea)).
+ // Foreground(tcell.ColorBlack)
+
bodyCursorStyle = bodyStyle.
Background(tcell.NewHexColor(0xeaea9e))
- bodyHilightStyle = bodyStyle.
- Background(tcell.NewHexColor(0xa6a65a))
+
+ bodyHilightStyle = bodyStyle.Reverse(true)
+ // bodyHilightStyle = bodyStyle.
+ // Background(tcell.NewHexColor(0xa6a65a))
unprintableStyle = bodyStyle.
Foreground(tcell.ColorRed)
- tagStyle = tcell.StyleDefault.
- Background(tcell.NewHexColor(0xeaffff)).
- Foreground(tcell.ColorBlack)
+ tagStyle = tcell.StyleDefault.Reverse(true)
+ //Background(tcell.NewHexColor(0xeaffff)).
+ //Foreground(tcell.ColorBlack)
tagCursorStyle = tagStyle.
Background(tcell.NewHexColor(0x8888cc)).
Foreground(tcell.ColorBlack)
@@ -47,7 +52,7 @@ func initStyles() error {
tagSquareModifiedStyle = tagStyle.
Background(tcell.NewHexColor(0x2222cc))
- vertlineStyle = bodyStyle
+ vertlineStyle = bodyStyle.Reverse(false)
return nil
}