Skip to content

Commit

Permalink
fix default modebar colors
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Oct 5, 2018
1 parent 452f9bc commit 266d63b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,8 +1336,8 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut, formatObj) {

coerce('modebar.orientation');
coerce('modebar.bgcolor', Color.addOpacity(layoutOut.paper_bgcolor, 0.5));
coerce('modebar.color', Color.contrast(layoutOut.modebar.bgcolor, 30, 30));
coerce('modebar.activecolor', Color.contrast(layoutOut.modebar.bgcolor));
coerce('modebar.color', Color.contrast(layoutOut.paper_bgcolor, 30, 30));
coerce('modebar.activecolor', Color.contrast(layoutOut.paper_bgcolor));

Registry.getComponentMethod(
'calendars',
Expand Down

0 comments on commit 266d63b

Please sign in to comment.