const fontFamilyTheme = (spec, context)=>{
    const result = {
        ...spec
    };
    const { advancedVSeed } = context;
    const chartConfig = advancedVSeed.config?.[advancedVSeed.chartType] || {};
    if (!chartConfig.fontFamily) return result;
    const theme = 'object' != typeof result.theme || null === result.theme || Array.isArray(result.theme) ? {} : result.theme;
    result.theme = {
        ...theme,
        fontFamily: chartConfig.fontFamily
    };
    return result;
};
export { fontFamilyTheme };

//# sourceMappingURL=fontFamily.js.map