Skip to content

Add support for new material typographic scale (h1, h2, etc. instead of display4, display3) #11667

@charlax

Description

@charlax
  • This is a v1.x issue (v0.x is no longer maintained).
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

It would be nice to support the new naming for Material's typographic scale, which is much more intuitive (h1, h2, etc.): https://material.io/design/typography/the-type-system.html#type-scale

I could not find any announcement from Google about this new naming, it looks like they renamed it without any announcement. In any case, this new naming is much more intuitive than the previous one: display4 is actually roughly equivalent to h1.

Current Behavior

MUI only supports the previous typographic scale naming. You can provide your own scale and mapping, but this requires extra configuration.

Changing the naming would be a breaking change unless the previous naming has a mapping to the new one (display4 to h1, etc.)

Your Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeIntroduces changes that are not backward compatible.design: materialThis is about Material Design, please involve a visual or UX designer in the process

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions