"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getYfmHtmlBlockCssVariables = void 0;
const YfmHtmlBlockStyles = {
    colorTextPrimary: '--yfm-html-color-text-primary', // Color of the primary text
    colorTextSecondary: '--yfm-html-color-text-secondary', // Color of the secondary text
    colorBackground: '--yfm-html-color-background', // Color of the background
    colorBackgroundSecondary: '--yfm-html-color-background-secondary', // Color of the secondary background
    colorLink: '--yfm-html-color-link', // Color of the link
    colorLinkHover: '--yfm-html-color-link-hover', // Color of the link when hovered
    colorLinkVisited: '--yfm-html-color-link-visited', // Color of the visited link
    font: '--yfm-html-font', // Font for the text
    fontSize: '--yfm-html-font-size', // Size of the text
    fontFamily: '--yfm-html-font-family', // Family of the text
    lineHeight: '--yfm-html-line-height', // Line height of the text
};
const getYfmHtmlBlockCssVariables = (styles) => {
    const obj = {};
    for (const key of Object.keys(styles)) {
        if (YfmHtmlBlockStyles[key]) {
            obj[YfmHtmlBlockStyles[key]] = styles[key];
        }
    }
    return obj;
};
exports.getYfmHtmlBlockCssVariables = getYfmHtmlBlockCssVariables;
//# sourceMappingURL=utils.js.map
