mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 02:13:41 +00:00
This commit incorporates the Brother thread color mapping from the App codebase into the web application. When importing PES files, thread colors are now automatically enhanced with official Brother Embroidery thread information including proper color names and chart codes. Changes: - Added BrotherColor.json database with 56 Brother embroidery thread colors - Created brotherColors utility module with mapping functions that replicate the logic from Asura.Core.Models.EmbroideryUtil.GetThreadColorListFromPesx - Enhanced PES importer client to map thread catalog numbers to Brother colors - Updated PatternCanvas to avoid showing duplicate chart/catalog information when they are the same (common for Brother colors) The mapping logic performs exact color code matching (e.g., "001", "843") and preserves original thread data when no Brother match is found. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| BrotherColor.json | ||