"use strict";

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

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

var getFillColor = function getFillColor(_ref) {
  var theme = _ref.theme,
      disabled = _ref.disabled;
  return (0, _branding.getPaletteColor)(disabled ? 'greyscale-medium' : 'brand-primary-base')({
    theme: theme
  });
};

exports.getFillColor = getFillColor;

var getStrokeColor = function getStrokeColor(_ref2) {
  var theme = _ref2.theme;
  return (0, _branding.getPaletteColor)('white')({
    theme: theme
  });
};

exports.getStrokeColor = getStrokeColor;

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

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

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

exports.getSize = getSize;