"use strict";

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

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

var getSearchResultPadding = function getSearchResultPadding(_ref) {
  var large = _ref.large;
  return large ? '13px 30px' : '12px 20px';
};

exports.getSearchResultPadding = getSearchResultPadding;

var getSearchResultColor = function getSearchResultColor(_ref2) {
  var selected = _ref2.selected,
      theme = _ref2.theme;
  return selected ? (0, _branding.getPaletteColor)('white')({
    theme: theme
  }) : (0, _branding.getPaletteColor)('greyscale-black')({
    theme: theme
  });
};

exports.getSearchResultColor = getSearchResultColor;

var getSearchResultBackground = function getSearchResultBackground(_ref3) {
  var selected = _ref3.selected,
      theme = _ref3.theme;
  return selected ? (0, _branding.getPaletteColor)('brand-secondary-dark')({
    theme: theme
  }) : (0, _branding.getPaletteColor)('white')({
    theme: theme
  });
};

exports.getSearchResultBackground = getSearchResultBackground;