Repository navigation
2.4.0
What's Changed
New Features
- Template Search: Add metadata and search functionality to
PredefinedTemplatewith tags, moods, and NaturalLanguage-based lemmatization - Gradient Export: Add snapshot helpers to render MeshGradient to CGImage/PlatformImage
- Export Snippets: Add SwiftUI and CSS color stop snippet helpers for design tools
- Color Hex Output: Add Color hex output functionality with README examples
Improvements
- Add
smoothsColorsoption to gradient creation - Extract animation constants to
AnimationConstantsenum - Use
simd_clampfor bounds safety in animations - Refactor animation code into smaller, testable methods
- Add
CustomGradientTemplatevalidating initializer with error reporting
Bug Fixes
- Fix animation wiring for parameterized noise
- Fix CSS alpha fallback in export
- Fix hex color parsing for various formats
- Fix misleading comment: cachedMetadata → metadataValue
- Fix merge conflict marker in test file
- Split tests into separate files to pass SwiftLint
Tests
- Expand template search tests
- Add export helper tests
- Add comprehensive template validation tests
- Split tests into 3 files for better organization
Full Changelog: 2.3.0...2.4.0