export function createCheckerBoardBackground(options = {}) {
    const { darkColor = 'rgba(0,0,0,0.15)', lightColor = 'transparent', size = 24 } = options;
    const position = size / 2;
    return {
        backgroundImage: [
            `linear-gradient(45deg, ${darkColor} 25%, ${lightColor} 25%)`,
            `linear-gradient(-45deg, ${darkColor} 25%, ${lightColor} 25%)`,
            `linear-gradient(45deg, ${lightColor} 75%, ${darkColor} 75%)`,
            `linear-gradient(-45deg, ${lightColor} 75%, ${darkColor} 75%)`,
        ].join(', '),
        backgroundSize: `${size}px ${size}px`,
        backgroundPosition: `0 0, 0 ${position}px, ${position}px -${position}px, -${position}px 0px`,
    };
}
