"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,
      header = _ref.header;
  return header ? (0, _branding.getPaletteColor)('greyscale-dark')({
    theme: theme
  }) : (0, _branding.getPaletteColor)('greyscale-black')({
    theme: theme
  });
};

exports.getForegroundColor = getForegroundColor;