import { getDarkBrushConfig, getDarkColor, getDarkCrosshairRect, getDarkLabel, getDarkLegend, getDarkPivotChartGridConfig } from "../common/index.js";
import { getDarkTooltip } from "../common/tooltip.js";
import { getDarkBandAxis, getDarkLinearAxis } from "../common/axes.js";
import { getDarkAnnotation } from "../common/annotaion.js";
const getDualAxisTheme = ()=>{
    const linearAxis = getDarkLinearAxis();
    const bandAxis = getDarkBandAxis();
    const crosshairRect = getDarkCrosshairRect();
    const baseConfig = {
        backgroundColor: 'transparent',
        color: getDarkColor(),
        label: getDarkLabel(),
        legend: getDarkLegend(),
        tooltip: getDarkTooltip(),
        brush: getDarkBrushConfig()
    };
    return {
        ...baseConfig,
        xAxis: bandAxis,
        primaryYAxis: linearAxis,
        secondaryYAxis: {
            ...linearAxis,
            grid: {
                visible: false
            }
        },
        crosshairRect,
        pivotGrid: getDarkPivotChartGridConfig(),
        annotation: getDarkAnnotation()
    };
};
export { getDualAxisTheme };

//# sourceMappingURL=dualAxis.js.map