Homepage
All Releases

v4.0.0-alpha.6

Mar 30, 2019

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

Here are some highlights ✨:

@material-ui/core@v4.0.0-alpha.6

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/styles@v4.0.0-alpha.6

@material-ui/lab@v4.0.0-alpha.6

Docs

Core