Dynamic Type automatically scales a font size according to Accessibility settings. In iOS 14, we also have a way to scale numeric values like padding and margin.
SwiftUI Index –
How to Understand and Work With CSS Margins
Set SwiftUI app theme with AccentColor
How to scale margin and padding with @ScaledMetric Property
How to use @ScaledMetric in SwiftUI for Dynamic Type support
How to scale margin and padding with @ScaledMetric Property
Scale page to fit printer margins - combit Reporting Forum
CSS Visual Formatting: Margin, Padding, Borders - The Helpful Tipper
Box model
How to use custom fonts in WKWebView