"use strict";

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

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

var getLinkColor = function getLinkColor(_ref) {
  var theme = _ref.theme,
      _ref$colorName = _ref.colorName,
      colorName = _ref$colorName === void 0 ? 'brand-primary-base' : _ref$colorName;
  return (0, _branding.getPaletteColor)(colorName)({
    theme: theme
  });
};

exports.getLinkColor = getLinkColor;

var getLinkHoverColor = function getLinkHoverColor(_ref2) {
  var theme = _ref2.theme,
      _ref2$colorName = _ref2.colorName,
      colorName = _ref2$colorName === void 0 ? 'brand-primary-dark' : _ref2$colorName;
  return (0, _branding.getPaletteColor)(colorName)({
    theme: theme
  });
};

exports.getLinkHoverColor = getLinkHoverColor;

var getLinkActiveColor = function getLinkActiveColor(_ref3) {
  var theme = _ref3.theme,
      _ref3$colorName = _ref3.colorName,
      colorName = _ref3$colorName === void 0 ? 'brand-primary-fg' : _ref3$colorName;
  return (0, _branding.getPaletteColor)(colorName)({
    theme: theme
  });
};

exports.getLinkActiveColor = getLinkActiveColor;