Files
vectorcraft/crates/engine
dotCooCoo 1d6f0340e2 Merge main into feat/color-wheel-contrast
The contrast row, its menu rows and its tests move to the craft UI framework,
as main's Color Wheel panel now uses it:

- The row is a Row with a Swatch named Background (a color well whose value is
  the background's hex value) and Text for the ratio and the AA and AAA
  results, each with the WCAG minimums as its tooltip.
- Show Contrast, Contrast For and Contrast Background are rows of the panel
  menu's items (ui.colorWheel.contrast, contrastFor.<id>,
  contrastBackground.below and contrastBackground.current), after Show
  Opacity. Current Color is gray, and its row answers an error, while the
  active proxy has no solid color.
- The kept background and ratio answer are fields of WheelUi instead of panel
  state. The answer's key also holds whether the Live Paint Bucket paints,
  which changes the proxies' paint without a document revision.
- The row's tests run in the panel's Fixture by accessible name; the drag test
  runs an interaction whose previews set the fill, as the Show Document Colors
  drag test does.
- The settings lists in the params text, docs/mcp.md and the tests take both
  opacity and the contrast keys.
2026-11-25 16:36:08 -08:00
..