"use strict";

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

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

var _icon = require("../icon.css-rules");

var getIconColor = function getIconColor(_ref) {
  var theme = _ref.theme,
      disabled = _ref.disabled;
  return disabled ? (0, _icon.getDisabledFillColor)({
    theme: theme
  }) : (0, _branding.getPaletteColor)('greyscale-black')({
    theme: theme
  });
};

exports.getIconColor = getIconColor;