diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-06-11 19:45:24 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-06-11 19:52:22 +0300 |
commit | b03a3b6cec8491b5510bb526f0407cfb4c571b6b (patch) | |
tree | 2df913b8997ddadc0caa05c231b382c073a71995 /ui | |
parent | 5e3994ce2cead6851d19a37dc6d76104f4152e7f (diff) |
Make /rainbow yellow readable in light-themed clients
Diffstat (limited to 'ui')
-rw-r--r-- | ui/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commands.go b/ui/commands.go index 8746305..bbe082d 100644 --- a/ui/commands.go +++ b/ui/commands.go @@ -53,7 +53,7 @@ func (gt GradientTable) GetInterpolatedColorFor(t float64) colorful.Color { var rainbow = GradientTable{ {colorful.LinearRgb(1, 0, 0), 0.0}, {colorful.LinearRgb(1, 0.5, 0), 0.1}, - {colorful.LinearRgb(1, 1, 0), 0.2}, + {colorful.LinearRgb(0.5, 0.5, 0), 0.2}, // Yellow is 0.5, 0.5 instead of 1, 1 to make it readable on light themes {colorful.LinearRgb(0.5, 1, 0), 0.3}, {colorful.LinearRgb(0, 1, 0), 0.4}, {colorful.LinearRgb(0, 1, 0.5), 0.5}, |