There are 2 ways I can find to generate Dynamic Type-sensitive sizing.
- System fonts
.font(.system(.title))
- Custom fonts
.font(.custom("AmericanTypewriter", size: 22, relativeTo: .title))
But let's say I want to use a system font that respects Dynamic type.
When I do something like this:
.font(.system(size: 28, weight: .regular, design: .rounded))
all Dynamic Type is lost.
How can I specify system fonts of a specific size, but let it scale with Dynamic Type?