Skill Wiki v0.1.0
rule @android-compose/rule-typography-scale-tokens

Typography Scale Tokens

Material 3 defines a 15-step type scale across five role families — `displayLarge/Medium/Small`, `headlineLarge/Medium/Small`, `titleLarge/Medium/Small`, `bodyLarge/Medium/Small`, `labelLarge/Medium/Small` — exposed as `…

Skill
@android-compose
Domain
android-compose
Version
0.1.0
Quality
4.0
Edges
3 out · 3 in
Tokens
136/306/325
$ prime install @android-compose/rule-typography-scale-tokens

Projection

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

TypographyScaleTokens [rule] v0.1.0

Material 3 defines a 15-step type scale across five role families — displayLarge/Medium/Small, headlineLarge/Medium/Small, titleLarge/Medium/Small, bodyLarge/Medium/Small, labelLarge/Medium/Small — exposed as MaterialTheme.typography.<role>. Reference the role; do not set fontSize, fontWeight, lineHeight, and letterSpacing ad hoc. Roles encode hierarchy, density, and accessibility-tested defaults; ad hoc styles drift across screens and break Dynamic Type.

Source

prime-system/examples/android-compose/primes/compiled/@android-compose/rule-typography-scale-tokens/atom.yaml

Compiled at 2026-05-10