diff --git a/docs/6.x/docs/guides/migration.md b/docs/6.x/docs/guides/migration.md index 1472e27002..0b0b13c650 100644 --- a/docs/6.x/docs/guides/migration.md +++ b/docs/6.x/docs/guides/migration.md @@ -1686,6 +1686,13 @@ A FAB without a `variant` keeps its 5.x colors. + ``` +If your app was written for a 6.0 alpha build, rename the `tonalPrimary`, `tonalSecondary` and `tonalTertiary` variants to `primaryContainer`, `secondaryContainer` and `tertiaryContainer`. The colors are the same. The old names have no aliases, so in JavaScript a `FAB`, a `FAB.Extended` or the `FAB.Menu` trigger with one of them throws at render. One that also sets `containerColor` renders, but a `FAB.Menu` then gives its close button and items the tertiary colors. + +```diff +- ++ +``` + #### `size` - **`size="small"`** and **`small`** (40dp) were removed. The smallest FAB is now `size="default"` (56dp).