"use strict";

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

var _styledComponents = require("styled-components");

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

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

var getSelectionIndicatorShape = function getSelectionIndicatorShape(_ref) {
  var theme = _ref.theme;
  return (0, _styledComponents.css)(["font-size:", ";font-family:", ";font-weight:", ";border-radius:9999px;padding:10px;"], _typography.getFontSize, _typography.getFontFamily, (0, _typography.getFontWeight)({
    theme: theme,
    bold: true
  }));
};

exports.getSelectionIndicatorShape = getSelectionIndicatorShape;

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

exports.getForeground = getForeground;