]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
include in migration guide
authorMark Otto <markdotto@gmail.com>
Sat, 30 Apr 2022 17:01:24 +0000 (10:01 -0700)
committerMark Otto <otto@github.com>
Sat, 30 Apr 2022 19:55:27 +0000 (12:55 -0700)
site/content/docs/5.1/migration.md

index d7fad95a6b6f2c7b41db7cb938cf5e2f95237b1e..9750e4e77aae543f7f217b81387b4a5c949badec 100644 (file)
@@ -84,6 +84,8 @@ Your custom Bootstrap CSS builds should now look something like this with a sepa
 
 - **Popovers and tooltips now use CSS variables.** Some CSS variables have been updated from their Sass counterparts to reduce the number of variables. As a result, three variables have been deprecated in this release: `$popover-arrow-color`, `$popover-arrow-outer-color`, and `$tooltip-arrow-color`.
 
+- **Added new `.text-bg-{color}` helpers.** Instead of setting individual `.text-*` and `.bg-*` utilities, you can now use [the `.text-bg-*` helpers]({{< docsref "helpers/color-background" >}}) to set a `background-color` with contrasting foreground `color`.
+
 - Added `.form-check-reverse` modifier to flip the order of labels and associated checkboxes/radios.
 
 - Added [striped columns]({{< docsref "/content/tables#striped-columns" >}}) support to tables via the new `.table-striped-columns` class.