Skip to content

Commit

Permalink
improve default modebar colors
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Oct 5, 2018
1 parent 266d63b commit ff3f9f6
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.paper_bgcolor, 30, 30));
coerce('modebar.activecolor', Color.contrast(layoutOut.paper_bgcolor));
coerce('modebar.color', Color.contrast(Color.rgb(layoutOut.modebar.bgcolor), 30, 30));
coerce('modebar.activecolor', Color.contrast(Color.rgb(layoutOut.modebar.bgcolor)));

Registry.getComponentMethod(
'calendars',
Expand Down

0 comments on commit ff3f9f6

Please sign in to comment.