"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.contentStyle = exports.footerStyle = exports.getFooterStyle = exports.h1Style = exports.getH1Style = exports.attachmentsStyle = exports.severityColorMap = exports.titleStyle = exports.summaryStyle = exports.remarkStyle = exports.assetStyle = exports.actionStyle = exports.actionsStyle = exports.linkStyle = exports.getLinkStyle = exports.DEFAULT_FONT_FAMILY = void 0;
exports.DEFAULT_FONT_FAMILY = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif";
const getLinkStyle = (fontFamily = exports.DEFAULT_FONT_FAMILY) => ({
    color: '#2754C5',
    fontFamily,
    fontSize: '14px',
    textDecoration: 'underline',
});
exports.getLinkStyle = getLinkStyle;
exports.linkStyle = (0, exports.getLinkStyle)();
exports.actionsStyle = {
    margin: '20px -8px 0px',
};
exports.actionStyle = {
    color: '#4598fa',
    fontSize: 14,
    border: '1px solid #4598fa',
    display: 'inline-block',
    borderRadius: '4px',
    margin: '8px',
    marginTop: '8px',
    marginBottom: '8px',
    marginLeft: '8px',
    marginRight: '8px',
};
exports.assetStyle = {
    backgroundColor: '#f6f6f6',
    borderRadius: '8px',
    paddingLeft: '12px',
    paddingRight: '12px',
    paddingTop: '12px',
    paddingBottom: '12px',
    margin: '1em 0',
};
exports.remarkStyle = {
    color: '#9397a1',
    fontSize: '12px',
    margin: 0,
    whiteSpace: 'pre-line!important',
};
exports.summaryStyle = {
    color: '#49c3ad',
};
exports.titleStyle = {
    marginBottom: '6px',
};
exports.severityColorMap = {
    normal: '#C4C5CA',
    success: '#25C99B',
    error: '#F16E6E',
    warning: '#DE9E37',
};
exports.attachmentsStyle = {
    borderLeft: '2px solid transparent',
    paddingLeft: '20px',
};
const getH1Style = (fontFamily = exports.DEFAULT_FONT_FAMILY) => ({
    color: '#333',
    fontFamily,
    fontSize: '22px',
    fontWeight: 'bold',
    margin: '1em 0',
    padding: '0',
});
exports.getH1Style = getH1Style;
exports.h1Style = (0, exports.getH1Style)();
const getFooterStyle = (fontFamily = exports.DEFAULT_FONT_FAMILY) => ({
    color: '#898989',
    fontFamily,
    fontSize: '12px',
    lineHeight: '22px',
    margin: 0,
    textAlign: 'center',
});
exports.getFooterStyle = getFooterStyle;
exports.footerStyle = (0, exports.getFooterStyle)();
exports.contentStyle = {
    margin: '0 auto 20px auto',
    backgroundColor: '#ffffff',
    padding: '10px 20px 30px 20px',
};
