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.
CSS Margin vs. Padding: What's the Difference?
All You Need To Know About CSS Margin And Padding
Scaling custom fonts automatically with Dynamic Type
border, padding, margin example
Margin vs Padding - javatpoint
How to use custom fonts in WKWebView
Set SwiftUI app theme with AccentColor
SwiftUI 3: ScaledMetrics Property Wrapper for Accessibility in Text View
How are margins, borders, padding, and content related? - Web Tutorials