rule @community/rule-ios-custom-font-dynamic-type

Ios Custom Font Dynamic Type

Custom fonts must be scaled with Dynamic Type by registering them via UIFontMetrics.scaled(for:) in UIKit or Font.custom(_:relativeTo:) in SwiftUI, anchored to a semantic text style.

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
63/99/314
$ aoe install @community/rule-ios-custom-font-dynamic-type

Projection

Always in _index.xml · the agent never has to ask for this.

IosCustomFontDynamicType [rule] v1.0.0

Custom fonts must be scaled with Dynamic Type by registering them via UIFontMetrics.scaled(for:) in UIKit or Font.custom(_:relativeTo:) in SwiftUI, anchored to a semantic text style.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-custom-font-dynamic-type/atom.yaml