"use strict";

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

var _branding = require("../../../mixins/branding/branding.css-rules");

var _circularProgressBar = require("./circular-progress-bar.constants");

var getPathColor = function getPathColor(_ref) {
  var theme = _ref.theme,
      _ref$color = _ref.color,
      color = _ref$color === void 0 ? _circularProgressBar.DEFAULT_FG_COLOR : _ref$color;
  return (0, _branding.getPaletteColor)(color)({
    theme: theme
  });
};

exports.getPathColor = getPathColor;

var getTrailColor = function getTrailColor(_ref2) {
  var theme = _ref2.theme,
      _ref2$bgColor = _ref2.bgColor,
      bgColor = _ref2$bgColor === void 0 ? _circularProgressBar.DEFAULT_BG_COLOR : _ref2$bgColor;
  return (0, _branding.getPaletteColor)(bgColor)({
    theme: theme
  });
};

exports.getTrailColor = getTrailColor;