"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getHoverFontColor = exports.getFontColor = exports.getFontFamily = exports.getDesktopFontSize = exports.getMobileFontSize = void 0;

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

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

var getMobileFontSize = function getMobileFontSize(_ref) {
  var theme = _ref.theme;
  return (0, _typography.getFontSize)({
    theme: theme,
    fontSize: 'f4'
  });
};

exports.getMobileFontSize = getMobileFontSize;

var getDesktopFontSize = function getDesktopFontSize(_ref2) {
  var theme = _ref2.theme;
  return (0, _typography.getFontSize)({
    theme: theme,
    fontSize: 'f5'
  });
};

exports.getDesktopFontSize = getDesktopFontSize;

var getFontFamily = function getFontFamily(_ref3) {
  var theme = _ref3.theme;
  return (0, _typography.getFontFamily)({
    theme: theme,
    face: 'sans'
  });
};

exports.getFontFamily = getFontFamily;

var getFontColor = function getFontColor(_ref4) {
  var theme = _ref4.theme,
      href = _ref4.href;
  return window.location.pathname === href ? (0, _branding.getPaletteColor)('greyscale-black')({
    theme: theme
  }) : (0, _branding.getPaletteColor)('greyscale-dark')({
    theme: theme
  });
};

exports.getFontColor = getFontColor;

var getHoverFontColor = function getHoverFontColor(_ref5) {
  var theme = _ref5.theme;
  return (0, _branding.getPaletteColor)('greyscale-black')({
    theme: theme
  });
};

exports.getHoverFontColor = getHoverFontColor;