Skip to content

Commit

Permalink
invert colors of rainbow gradient
Browse files Browse the repository at this point in the history
Now we have the same color gradient than other prominent viewers
  • Loading branch information
biasmv committed Oct 3, 2015
1 parent 9c543d0 commit fb4ff36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ exports.gradient = function(colors, stops) {
var gradient = exports.gradient;

exports.initGradients = function() {
GRADIENTS.rainbow = gradient(['red', 'yellow', 'green', 'blue']);
GRADIENTS.rainbow = gradient(['blue', 'green', 'yellow', 'red']);
GRADIENTS.reds = gradient(['lightred', 'darkred']);
GRADIENTS.greens = gradient(['lightgreen', 'darkgreen']);
GRADIENTS.blues = gradient(['lightblue', 'darkblue']);
Expand Down

0 comments on commit fb4ff36

Please sign in to comment.