Skip to content

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Aug 9, 2025

Currently SwiftDraw generates SFSymbols in the small size category. This PR allows users to generate symbols in either small, medium or large;

% swiftdraw arrow-circle.svg --format sfsymbol --size medium
medium
Available keys for --format sfsymbol:
 --insets             alignment of regular variant: top,left,bottom,right | auto
 --size               size category to generate: small, medium large. (default is small)
 --ultralight         svg file of ultralight variant
 --ultralight-insets  alignment of ultralight variant: top,left,bottom,right | auto
 --black              svg file of black variant
 --black-insets       alignment of black variant: top,left,bottom,right | auto
 --legacy             use the original, less precise alignment logic from earlier swiftdraw versions.

Copy link

codecov bot commented Aug 9, 2025

Codecov Report

❌ Patch coverage is 73.40426% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.68%. Comparing base (a535740) to head (9d4804c).

Files with missing lines Patch % Lines
...ources/CommandLine/CommandLine.Configuration.swift 48.00% 13 Missing ⚠️
SwiftDraw/Sources/Renderer/Renderer.SFSymbol.swift 90.00% 6 Missing ⚠️
...wiftDraw/Sources/Formatter/XML.Formatter.SVG.swift 16.66% 5 Missing ⚠️
...Draw/Sources/CommandLine/CommandLine+Process.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   89.67%   89.68%           
=======================================
  Files         144      144           
  Lines       12206    12291   +85     
=======================================
+ Hits        10946    11023   +77     
- Misses       1260     1268    +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@swhitty swhitty merged commit 1355dce into main Aug 9, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant