"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTextStyle = void 0;
const Text_1 = require("../../types/Text");
const getTextStyle = (type) => {
    switch (type) {
        case Text_1.TextTypes.Body1:
            return {
                fontSize: 2,
                desktopFontSize: 2.5,
                styleType: 'body',
                lineHeight: 1.2,
            };
        case Text_1.TextTypes.Body2:
            return {
                fontSize: 1.75,
                desktopFontSize: 2,
                styleType: 'body',
                lineHeight: 1.25,
            };
        case Text_1.TextTypes.Body3:
            return {
                fontSize: 1.5,
                desktopFontSize: 1.5,
                styleType: 'body',
            };
        case Text_1.TextTypes.Body4:
            return {
                fontSize: 1.25,
                styleType: 'body',
            };
        case Text_1.TextTypes.Body5:
            return {
                fontSize: 1,
                styleType: 'body',
            };
        case Text_1.TextTypes.Body6:
            return {
                fontSize: 0.8725,
                styleType: 'body',
            };
        case Text_1.TextTypes.Body7:
            return {
                fontSize: 0.75,
                styleType: 'body',
            };
        case Text_1.TextTypes.Heading1:
            return {
                fontSize: 4,
                desktopFontSize: 5,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        case Text_1.TextTypes.Heading2:
            return {
                fontSize: 3.5,
                desktopFontSize: 4,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        case Text_1.TextTypes.Heading3:
            return {
                fontSize: 2.5,
                desktopFontSize: 3,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        case Text_1.TextTypes.Heading4:
            return {
                fontSize: 2,
                desktopFontSize: 2,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        case Text_1.TextTypes.Heading5:
            return {
                fontSize: 1.5,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        case Text_1.TextTypes.Heading6:
            return {
                fontSize: 1,
                fontWeight: 'bold',
                styleType: 'heading',
            };
        default:
            return {
                fontSize: 1,
                styleType: 'body',
            };
    }
};
exports.getTextStyle = getTextStyle;
//# sourceMappingURL=getTextStyle.js.map