"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const getLabelStyle = (className, bgColor, color) => [{
        className: `.${className}.app-label`,
        style: {
            'background-color': bgColor,
        }
    }, {
        className: `.${className}.app-label-text`,
        style: {
            'color': color,
        }
    }];
const getTextStyle = (className, color) => [{
        className: `.${className}.app-label-text`,
        style: {
            'color': color,
        }
    }];
const getHeadingStyles = (className, fontSize) => [{
        className: `.${className}.app-label-text`,
        style: {
            'font-size': fontSize,
            'color': '@labelHeaderColor',
        }
    }];
const getLabeldtStyle = (className, bgColor, color) => [{
        className: `.${className}.app-label`,
        dtStyle: {
            'background-color': bgColor,
            'padding-left': 'var(--wm-space-8)',
            'padding-top': 'var(--wm-space-4)',
            'padding-right': 'var(--wm-space-8)',
            'padding-bottom': 'var(--wm-space-4)',
            'border-radius': 'var(--wm-label-border-radius)'
        }
    }, {
        className: `.${className}.app-label-text`,
        dtStyle: {
            'color': color,
            'font-weight': 'var(--wm-font-weight-bold)'
        }
    }];
const getTextdtStyle = (className, color) => [{
        className: `.${className}.app-label-text`,
        dtStyle: {
            'color': color,
        },
    }];
const getHeadingdtStyles = (className, fontSize, fontfamily) => [{
        className: `.${className}.app-label-text`,
        dtStyle: {
            'color': 'var(--wm-headings-color)',
            'font-size': fontSize,
            'font-family': fontfamily,
        }
    }];
exports.default = {
    getStyleDefs: () => ([{
            className: '.app-label',
            rnStyleSelector: 'app-label.root',
            studioStyleSelector: '.app-label',
            style: {
                color: '@labelDefaultColor'
            }
        }, {
            className: '.app-label-text',
            rnStyleSelector: 'app-label.text',
            studioStyleSelector: '.app-label',
            style: {},
            dtStyle: {
                'font-size': 'var(--wm-label-large-font-size)',
                'color': 'var(--wm-label-default-color)'
            }
        }, {
            className: '.app-label-asterisk',
            rnStyleSelector: 'app-label.asterisk',
            studioStyleSelector: '.app-label.required:after',
            style: {
                color: '@labelAsteriskColor'
            },
            dtStyle: {
                'color': 'var(--wm-color-error)',
                'margin-left': 'var(--wm-label-asterisk-margin-left)'
            }
        }, {
            className: '.app-label-skeleton',
            rnStyleSelector: 'app-label.skeleton',
            studioStyleSelector: '.app-label-skeleton',
            style: {},
            dtStyle: {
                'width': 'var(--wm-label-skeleton-width)',
                'height': 'var(--wm-label-skeleton-height)',
                'border-radius': 'var(--wm-label-skeleton-border-radius)'
            }
        }, {
            className: '.app-label-link',
            rnStyleSelector: 'app-label.link',
            style: {}
        }, {
            className: '.text-center.app-label-text',
            dtStyle: {
                'text-align': 'var(--wm-label-text-align-center)'
            }
        }, {
            className: '.text-left.app-label-text',
            dtStyle: {
                'text-align': 'var(--wm-label-text-align-left)'
            }
        }, {
            className: '.text-right.app-label-text',
            dtStyle: {
                'text-align': 'var(--wm-label-text-align-right)'
            }
        }, {
            className: '.media-heading.app-label-text',
            dtStyle: {
                'font-size': 'var(--wm-space-4)',
            }
        }, {
            className: '.p.app-label-text',
            dtStyle: {
                'font-size': 'var(--wm-space-3)',
            }
        },
        ...getLabeldtStyle('label-danger', 'var(--wm-message-container-danger-background)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-primary', 'var(--wm-color-primary)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-secondary', 'var(--wm-color-secondary)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-default', 'var(--wm-label-default-color)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-success', 'var(--wm-message-container-success-background)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-warning', 'var(--wm-message-container-warning-background)', 'var(--wm-color-white)'),
        ...getLabeldtStyle('label-info', 'var(--wm-message-container-info-background)', 'var(--wm-color-white)'),
        ...getLabelStyle('label-danger', '@labelDangerColor', '@labelDangerContrastColor'),
        ...getLabelStyle('label-primary', '@labelPrimaryColor', '@labelPrimaryContrastColor'),
        ...getLabelStyle('label-default', '@labelDefaultColor', '@labelDefaultContrastColor'),
        ...getLabelStyle('label-success', '@labelSuccessColor', '@labelSuccessContrastColor'),
        ...getLabelStyle('label-warning', '@labelWarningColor', '@labelWarningContrastColor'),
        ...getLabelStyle('label-info', '@labelInfoColor', '@labelInfoContrastColor'),
        ...getTextdtStyle('text-danger', 'var(--wm-message-container-danger-background)'),
        ...getTextdtStyle('text-primary', 'var(--wm-color-primary)'),
        ...getTextdtStyle('text-secondary', 'var(--wm-color-secondary)'),
        ...getTextdtStyle('text-default', 'var(--wm-label-default-color)'),
        ...getTextdtStyle('text-success', 'var(--wm-message-container-success-background)'),
        ...getTextdtStyle('text-warning', 'var(--wm-message-container-warning-background)'),
        ...getTextdtStyle('text-info', 'var(--wm-message-container-info-background)'),
        ...getTextdtStyle('text-muted', 'var(--wm-color-on-surface-variant)'),
        ...getTextStyle('text-danger', '@labelTextDangerColor'),
        ...getTextStyle('text-primary', '@labelTextPrimaryColor'),
        ...getTextStyle('text-success', '@labelTextSuccessColor'),
        ...getTextStyle('text-warning', '@labelTextWarningColor'),
        ...getTextStyle('text-info', '@labelTextInfoColor'),
        ...getHeadingdtStyles('h1', 'var(--wm-h1-font-size)', 'var(--wm-h1-font-family)'),
        ...getHeadingdtStyles('h2', 'var(--wm-h2-font-size)', 'var(--wm-h2-font-family)'),
        ...getHeadingdtStyles('h3', 'var(--wm-h3-font-size)', 'var(--wm-h3-font-family)'),
        ...getHeadingdtStyles('h4', 'var(--wm-h4-font-size)', 'var(--wm-h4-font-family)'),
        ...getHeadingdtStyles('h5', 'var(--wm-h5-font-size)', 'var(--wm-h5-font-family)'),
        ...getHeadingdtStyles('h6', 'var(--wm-h6-font-size)', 'var(--wm-h6-font-family)'),
        ...getHeadingStyles('h1', '@heading1FontSize'),
        ...getHeadingStyles('h2', '@heading2FontSize'),
        ...getHeadingStyles('h3', '@heading3FontSize'),
        ...getHeadingStyles('h4', '@heading4FontSize'),
        ...getHeadingStyles('h5', '@heading5FontSize'),
        ...getHeadingStyles('h6', '@heading6FontSize'), {
            className: '.text-muted.app-label-text',
            style: {
                color: '@labelTextMutedColor'
            }
        },
    ])
};
//# sourceMappingURL=label.styledef.js.map