"use strict";

exports.__esModule = true;
exports.createGradientBackground = void 0;
var _cssColorFunction = require("css-color-function");
const createGradientBackground = (baseColor, startColorLightness, endColorLigthness) => {
  const startColor = (0, _cssColorFunction.convert)(`color(${baseColor} lightness(${startColorLightness}))`);
  const endColor = (0, _cssColorFunction.convert)(`color(${baseColor} lightness(${endColorLigthness}))`);
  return `linear-gradient(180deg, ${startColor} 0%, ${endColor} 100%)`;
};
exports.createGradientBackground = createGradientBackground;
//# sourceMappingURL=get-background-gradient-color.js.map