"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getBoxPadding = exports.getPrimaryLabelFontWeight = exports.getPrimaryLabelFontFamily = exports.getPrimaryLabelFontSize = exports.getDisabledLabelTextColor = void 0;

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

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

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

exports.getDisabledLabelTextColor = getDisabledLabelTextColor;

var getPrimaryLabelFontSize = function getPrimaryLabelFontSize(_ref2) {
  var theme = _ref2.theme,
      large = _ref2.large;
  return (0, _typography.getFontSize)({
    theme: theme,
    fontSize: large ? 'f3' : 'f1'
  });
};

exports.getPrimaryLabelFontSize = getPrimaryLabelFontSize;
var getPrimaryLabelFontFamily = _typography.getFontFamily;
exports.getPrimaryLabelFontFamily = getPrimaryLabelFontFamily;

var getPrimaryLabelFontWeight = function getPrimaryLabelFontWeight(_ref3) {
  var theme = _ref3.theme,
      large = _ref3.large;
  return (0, _typography.getFontWeight)({
    theme: theme,
    bold: large
  });
};

exports.getPrimaryLabelFontWeight = getPrimaryLabelFontWeight;

var getBoxPadding = function getBoxPadding(_ref4) {
  var large = _ref4.large;
  return large ? '8px 30px' : '0 20px';
};

exports.getBoxPadding = getBoxPadding;