diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 12e10f3e4b50..75108d3ca7a2 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -33,6 +33,10 @@ toc: true - Improved `$green` (and its theme alias `$success`) color to reach new minimum color contrast (moving from `#28a745` to `#198754`). - Improved `$cyan` (and its theme alias `$info`) color to be more vibrant (moving from `#17a2b8` to `#0dcaf0`). +### Forms + +- Resized checks and radios to be `1em` instead of `1.25em` in an effort to make them scale better with custom `$font-size-base` values and more. + ### Components ### Badges @@ -49,15 +53,16 @@ toc: true #### Popovers -- Renamed `whiteList` option to `allowList` +- Renamed `whiteList` option to `allowList`. #### Toasts -- Make default toast duration 5 seconds +- Made default toast duration 5 seconds. +- Removed `overflow: hidden` from toasts and replaced with proper `border-radius`s with `calc()` functions. #### Tooltips -- Renamed `whiteList` option to `allowList` +- Renamed `whiteList` option to `allowList`. --- @@ -88,9 +93,7 @@ Changes to our source Sass files and compiled CSS. - `text-hide()` (also dropped the associated utility class, `.text-hide`) - `visibility()` - `form-control-focus()` -- **Todo:** New variables? -- **Todo:** Rearrange forms source files (under `scss/forms/`) -- **Todo:** Rearrange grid source files (under `scss/grid/`) +- Rearranged forms source files under `scss/forms/`. [See Forms section for more details.](#forms) - Removed print styles and `$enable-print-styles` variable. Print display classes, however, have remained intact. [See #28339](https://github.com/twbs/bootstrap/pull/28339). - Dropped `color()`, `theme-color()` & `gray()` functions in favor of variables. [See #29083](https://github.com/twbs/bootstrap/pull/29083) - The `theme-color-level()` function is renamed to `color-level()` and now accepts any color you want instead of only `$theme-color` colors. [See #29083](https://github.com/twbs/bootstrap/pull/29083) @@ -195,15 +198,15 @@ Changes to Reboot, typography, tables, and more. #### Alerts -- **Todo:** Remove auto-darkening of `