Skip to content

v4.0.0-alpha.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@oliviertassinari oliviertassinari released this 30 Mar 19:34
Mar 30, 2019

A big thanks to the 20 contributors who made this release possible!

Here are some highlights ✨:

@material-ui/[email protected]

Breaking changes

  • [Typography] Better defaults (#15100) @oliviertassinari

    • Change the default variant from body2 to body1.
      A font size of 16px is a better default than 14px.
      Bootstrap, material.io, and even our documentation use 16px as the default font size.
      14px like Ant Design is understandable as Chinese users have a different alphabet.
      We document 12px as the default font size for Japanese.
    • Remove the default color from the typography variants.
      The color should inherit most of the time. It's the default behavior of the web.
    • Rename color="default" to color="initial" following the logic of #13028.
      The use of default should be avoided, it lacks semantic meaning.
  • [Container] Move to the core (#15062) @oliviertassinari

Changes

@material-ui/[email protected]

@material-ui/[email protected]

Docs

Core