summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Czapliński <czapkofan@gmail.com>2018-10-25 17:54:20 +0200
committerMateusz Czapliński <czapkofan@gmail.com>2018-10-25 17:54:20 +0200
commit24c0d9179f34033c0286d6a37f25b5d9faebff37 (patch)
tree752ccf240b03b86fc4b8c48e519e20a3cb434bfb
parentf08677b49ee3d32d0cf89cd7c953d713379e3a21 (diff)
remove unused experimental colors
-rw-r--r--up.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/up.go b/up.go
index 9dfb30e..8d25193 100644
--- a/up.go
+++ b/up.go
@@ -669,16 +669,8 @@ func TuiRegion(tui tcell.Screen, x, y, w, h int) Region {
}
var (
- whiteOnBlue = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorBlue)
- whiteOnDBlue = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorNavy)
- whiteOnBrown = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorBrown)
- yellowOnBlue = tcell.StyleDefault.Foreground(tcell.ColorYellow).Background(tcell.ColorNavy)
- blackOnBlue = tcell.StyleDefault.Foreground(tcell.ColorBlack).Background(tcell.ColorLightSkyBlue)
- whiteOnGreen = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorGreen)
- whiteOnDGreen = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorDarkGreen)
- blackOnYellow = tcell.StyleDefault.Foreground(tcell.ColorBlack).Background(tcell.ColorYellow)
- blackOnWhite = tcell.StyleDefault.Foreground(tcell.ColorBlack).Background(tcell.ColorWhite)
- blueOnWhite = tcell.StyleDefault.Foreground(tcell.ColorDarkBlue).Background(tcell.ColorWhite)
+ whiteOnBlue = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorBlue)
+ whiteOnDBlue = tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorNavy)
)
func drawText(region Region, style tcell.Style, text string) {