Skip to content

Commit

Permalink
try es5 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Apr 30, 2019
1 parent fdc0328 commit bf07138
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/material-ui/src/styles/colorManipulator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* eslint-disable no-use-before-define */

import { lighten as lighten2, darken as darken2, rgba, getLuminance } from 'polished';
import lighten2 from 'polished/lib/color/lighten';
import darken2 from 'polished/lib/color/darken';
import rgba from 'polished/lib/color/rgba';
import getLuminance from 'polished/lib/color/getLuminance';

/**
* Calculates the contrast ratio between two colors.
Expand Down

0 comments on commit bf07138

Please sign in to comment.