"use strict";

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

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

var getForegroundColor = function getForegroundColor(_ref) {
  var theme = _ref.theme,
      colorName = _ref.colorName;
  return (0, _branding.getPaletteColor)(colorName || 'greyscale-black')({
    theme: theme
  });
};

exports.getForegroundColor = getForegroundColor;