Txt Dynamic Type

Configure Dynamic Type scaling for system and custom fonts in UIKit, AppKit, and SwiftUI — semantic text styles, UIFontMetrics, ScaledMetric, adjustsFontForContentSizeCategory, dynamicTypeSize, minimumContentSizeCategory, content-size change notifications, large content viewer. Use when text doesn't scale with the user's text-size preference, attributed strings keep their original size after a category change, custom fonts need to follow body or headline curves, layouts break at AX1-AX5, or you need to clamp the scale range for a view. Trigger on 'make text bigger', 'AX sizes', 'large text mode', 'accessibility text size', 'why isn't my custom font scaling' even without Dynamic Type named. Do NOT use for general text-editor accessibility traits or VoiceOver wiring — see txt-accessibility.

sitapix 50125d1 14.5 KB Updated

File contents

sitapix/apple-text/tree/main/skills/txt-dynamic-type commit 50125d1f8c

Frequently asked questions

npx skillmds@latest add sitapix/txt-dynamic-type