"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.tint = void 0;

var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));

var _color = _interopRequireDefault(require("color"));

var _this = void 0;

global.Color = _color.default;

var tint = function tint(color, weight) {
  (0, _newArrowCheck2.default)(this, _this);
  return (0, _color.default)(color).mix((0, _color.default)('#fff'), weight).string();
}.bind(void 0);

exports.tint = tint;