Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
46 stars 14 forks source link

feat: Adding helper to use Custom Fonts on SwiftUI previews #78

Closed baptistedajon closed 2 years ago

baptistedajon commented 2 years ago

Changes description

This PR adds a helper to be able to use custom fonts in SwiftUI preview (only on Xcode 14 for now)

Context

Until now using custom fonts on SwiftUI previews breaks the preview (crash)

Checklist

Does this introduce a breaking change?

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication