'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.generateTextStyles = undefined;

var _theme = require('../const/theme.js');

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var generateTextStyles = exports.generateTextStyles = function generateTextStyles() {
    var _ref;

    var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'size';

    return _ref = {}, _defineProperty(_ref, prefix + 'L', {
        height: '1.8rem',
        lineHeight: '1.8rem',
        padding: '0 .3rem',
        fontSize: _theme.FONT.SIZE_BUTTON
    }), _defineProperty(_ref, prefix + 'M', {
        height: '1.6rem',
        lineHeight: '1.6rem',
        fontSize: _theme.FONT.SIZE_BUTTON_SMALL,
        padding: '0 .2rem'
    }), _defineProperty(_ref, prefix + 'S', {
        height: '1.4rem',
        lineHeight: '1.4rem',
        fontSize: _theme.FONT.SIZE_BUTTON_TINY,
        padding: '0 .2rem'
    }), _defineProperty(_ref, prefix + 'Xs', {
        height: '1.2rem',
        lineHeight: '1.2rem',
        fontSize: _theme.FONT.SIZE_BUTTON_TINY,
        padding: '0 .2rem'
    }), _defineProperty(_ref, prefix + 'Title', {
        height: '1.6rem',
        lineHeight: '1.6rem',
        fontSize: _theme.FONT.SIZE_TITLE,
        padding: '0 .2rem',
        fontWeight: 700
    }), _ref;
};