Skip to content

Releases: tyeporter/SwiftIcons

v0.2.1

v0.2.1 Pre-release
Pre-release

Choose a tag to compare

@tyeporter tyeporter released this 06 Oct 08:30

Bug Fix 🐞

Adds missing fill icon set variant for Phosphor icons.

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@tyeporter tyeporter released this 06 Oct 06:17
715b7da

Native Image Rendering

Extends SwiftIcon with platform-aware rendering helpers that convert icon views into native image types using ImageRenderer.

New Features ✨

  • Introduces .toImage(), .toUIImage() and .toNSImage() helpers to SwiftIcon for converting icons into native image formats.

v0.1.2

v0.1.2 Pre-release
Pre-release

Choose a tag to compare

@tyeporter tyeporter released this 05 Oct 08:33

Bug Fix 🐞

Fixes bug where some Phosphor icons weren't displaying correctly because sanitizeAndEscapeSVG removed any rect with fill="none". The idea was to remove bounding boxes, but the search and replace was too aggressive. The line is no longer needed now that SwiftIcons uses SVGView.

v0.1.1

v0.1.1 Pre-release
Pre-release

Choose a tag to compare

@tyeporter tyeporter released this 05 Oct 07:59

Bug Fix 🐞

Fixes bug where icons with an unspecified size argument would grow unbounded and break layouts. SwiftIcon now uses the @ScaledMetric property wrapper to provide a 20pt default size (relative to body font) when no size argument is provided.

v0.1.0

v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@tyeporter tyeporter released this 05 Oct 07:12
e7986cd

Initial Beta Release

This is rough draft of an idea that came to mind after sharing SwiftColors.

What's Included:

  • Icon sets for Bootstrap, Feather, FontAwesome, Heroicons, Lucide, Phosphor, and Tabler
  • Icons inherit .foregroundStyle(), .foregroundColor(), system materials, and gradients via alpha-masking
  • SwiftIcons utilizes exyte/SVGView to safely parse svg strings