forked from 1b-agent/opencadstudio-upstream
- Add canvas_is_light helper based on WCAG luminance (> 0.5) - Ensure crosshair_background always returns sheet white in paper space - Update resolve_selection_base_color to resolve user ACI -> light-canvas palette -> theme palette - Add light_canvas_color with curated deep-green/deep-blue pairs for light surfaces - Extract selection_fill_alpha with 1.35x contrast compensation on light surfaces - Thread canvas_bg through draw_marquee and poly selection - Note deliberate limitation for desk-spanning marquee edge case - Add test coverage for paper space, ClassicDark, custom light bg, and fill alpha clamping