"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getBorderColor = exports.getFillColor = exports.getFontColor = exports.getDisabledFillColor = exports.getOutlineColor = void 0;

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

var getOutlineColor = function getOutlineColor(_ref) {
  var theme = _ref.theme;
  return (0, _branding.getPaletteColor)('greyscale-light')({
    theme: theme
  });
};

exports.getOutlineColor = getOutlineColor;

var getDisabledFillColor = function getDisabledFillColor(_ref2) {
  var theme = _ref2.theme;
  return (0, _branding.getPaletteColor)('greyscale-medium')({
    theme: theme
  });
};

exports.getDisabledFillColor = getDisabledFillColor;

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

exports.getFontColor = getFontColor;

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

exports.getFillColor = getFillColor;

var getBorderColor = function getBorderColor(theme, disabled) {
  return disabled ? getDisabledFillColor({
    theme: theme
  }) : (0, _branding.getPaletteColor)('brand-primary-base')({
    theme: theme
  });
};

exports.getBorderColor = getBorderColor;