"use strict";

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

var _styledComponents = _interopRequireDefault(require("styled-components"));

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

var _spacing = require("../../../mixins/spacing");

var _head = require("../head/head.css-rules");

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

var _fieldLabel = require("./field-label.css-rules");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var FieldLabel = _styledComponents["default"].label.attrs(function (props) {
  return {
    style: (0, _spacing.getSpacingRules)(props),
    fontSize: 'f1',
    bold: 'true'
  };
}).withConfig({
  displayName: "FieldLabel",
  componentId: "oekec4-0"
})(["display:block;margin-bottom:", ";font-size:", ";font-family:", ";font-weight:", ";color:", ";"], _fieldLabel.getBottomMargin, _typography.getFontSize, _head.getHFontFamily, _typography.getFontWeight, (0, _branding.getPaletteColor)('greyscale-dark'));

exports.FieldLabel = FieldLabel;
FieldLabel.displayName = 'FieldLabel';