const tableThemeStyle = (spec, context)=>{
    const result = {
        ...spec
    };
    const { advancedVSeed } = context;
    const { config, chartType } = advancedVSeed;
    const themConfig = config?.[chartType];
    if (!result.theme || !themConfig) return result;
    const borderColor = themConfig.borderColor || 'rgb(224, 224, 224)';
    result.theme.frameStyle = {
        borderColor,
        borderLineWidth: 1,
        cornerRadius: 4
    };
    result.theme.scrollStyle = {
        visible: 'scrolling',
        hoverOn: true
    };
    return result;
};
export { tableThemeStyle };

//# sourceMappingURL=frameStyle.js.map