Skip to content

[Material3] Type scale generator for Material3 #119931

Open
@luis901101

Description

@luis901101

Use case

Currently I'm migrating my app from Material2 to Material3, migrating ColorScheme was easy by using Export option here in https://m3.material.io/theme-builder#/custom but migrating TextTheme is not so easy.
When I first created my TextTheme for Material2 I used this generator tool https://m2.material.io/design/typography/the-type-system.html#type-scale which allows you to choose Platform and Fonts to generate the proper Type scale code to be used in your app theme. Now when I try to find the same generator tool for Material3, I can't find it, I just found this documentation https://m3.material.io/styles/typography/type-scale-tokens which explains it but doesn't allow you to generate TextTheme code.

Proposal

It would be great if there was a code generator tool for Material3 that allows you to choose platform and font and generates proper Material3 Type scale TextTheme, maybe similar to what is currently done for Material 2: https://m2.material.io/design/typography/the-type-system.html#type-scale

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions