mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 10:23:16 +01:00
When a library tint waits for a color that a pattern's art brings, swatch.library.add learns the color's name by importing the pattern into a copy of the document. The import into the document now confirms those names: when it gives a color another name, or none, the tints linked from the copy are linked again. - library.use and Add to Swatches report an error from the import that merges a pattern's colors instead of falling back to adding them. - The params text, docs/mcp.md and docs/target-app-parity.md say that a tint or gradient links to the numbered copy its global or spot color comes in under or already has, and name a gradient test. - The new code uses the HashMap import, and one helper relinks the added tints and gradients at both places that did it.