"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getSize = exports.getFillColor = exports.getStrokeColor = void 0;

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

var getStrokeColor = function getStrokeColor(_ref) {
  var theme = _ref.theme,
      inverted = _ref.inverted;
  return (0, _branding.getPaletteColor)(inverted ? 'white' : 'brand-primary-base')({
    theme: theme
  });
};

exports.getStrokeColor = getStrokeColor;

var getFillColor = function getFillColor(_ref2) {
  var theme = _ref2.theme,
      inverted = _ref2.inverted;
  return (0, _branding.getPaletteColor)(inverted ? 'brand-primary-base' : 'white')({
    theme: theme
  });
};

exports.getFillColor = getFillColor;

var getSize = function getSize(_ref3) {
  var size = _ref3.size;

  switch (size) {
    case 'sm':
      return '39px';

    case 'lg':
    default:
      return '51px';
  }
};

exports.getSize = getSize;