mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
add_text passed `color` to text.create only, and text.createInPath built its own character style without a colour, so type on a path and path-based area type took the current fill. text.createInPath now uses the same new-type style as text.create (size, font, style, color, else the current fill), and add_text sends `color` on both routes. The MCP test draws a blue rectangle (the current fill), turns it into on-path and area type with color #ff0000, and reads red back through inspect_document. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # ROADMAP.md