var opacityMap = {
  weak: 0.3,
  medium: 0.4,
  strong: 0.8,
  none: 1
};
export default (function (_ref) {
  var opacity = _ref.opacity;
  var value = opacity && opacityMap[opacity] || opacity;
  return value ? "opacity: " + value + ";" : "";
});