"use strict";

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

var _color = _interopRequireDefault(require("color"));

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

var _typography = require("../../../../mixins/typography");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var getForegroundFont = function getForegroundFont(_ref) {
  var theme = _ref.theme;
  return (0, _typography.getFontFamily)({
    theme: theme,
    bold: true
  });
};

exports.getForegroundFont = getForegroundFont;

var getHoverBackgroundColor = function getHoverBackgroundColor(props) {
  return (0, _color["default"])((0, _branding.getPaletteColor)('brand-primary-fg')(props)).darken(0.2);
};

exports.getHoverBackgroundColor = getHoverBackgroundColor;