import { getLightBrushConfig, getLightColor, getLightCrosshairRect, getLightLabel, getLightLegend, getLightPivotChartGridConfig } from "../common/index.js";
import { getLightTooltip } from "../common/tooltip.js";
import { getLightAnnotation } from "../common/annotaion.js";
import { getLightBandAxis, getLightLinearAxis } from "../common/axes.js";
const getDualAxisTheme = ()=>{
    const linearAxis = getLightLinearAxis();
    const bandAxis = getLightBandAxis();
    const crosshairRect = getLightCrosshairRect();
    const baseConfig = {
        backgroundColor: 'transparent',
        color: getLightColor(),
        label: getLightLabel(),
        legend: getLightLegend(),
        tooltip: getLightTooltip(),
        brush: getLightBrushConfig()
    };
    return {
        ...baseConfig,
        xAxis: bandAxis,
        primaryYAxis: linearAxis,
        secondaryYAxis: {
            ...linearAxis,
            grid: {
                visible: false
            }
        },
        crosshairRect,
        pivotGrid: getLightPivotChartGridConfig(),
        annotation: getLightAnnotation()
    };
};
export { getDualAxisTheme };

//# sourceMappingURL=dualAxis.js.map