aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/4.3/migration.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-04-13 17:48:19 -0700
committerMark Otto <[email protected]>2020-04-26 17:26:04 -0700
commit0408799ae5ddad0ea8d441bca6de5d5bbb730e16 (patch)
treedbf5f963bf0529e2c629071ceeb1d3212f4ad4fe /site/content/docs/4.3/migration.md
parentbb7ada6548290faad01eaea7c8746b9d8ead956c (diff)
downloadbootstrap-0408799ae5ddad0ea8d441bca6de5d5bbb730e16.tar.xz
bootstrap-0408799ae5ddad0ea8d441bca6de5d5bbb730e16.zip
Rename variables for brevity
- Rename `$enable-prefers-reduced-motion-media-query` to `$enable-reduced-motion` - Rename `$enable-pointer-cursor-for-buttons` to `$enable-button-pointers`
Diffstat (limited to 'site/content/docs/4.3/migration.md')
-rw-r--r--site/content/docs/4.3/migration.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md
index 3806b6049..eef9193ac 100644
--- a/site/content/docs/4.3/migration.md
+++ b/site/content/docs/4.3/migration.md
@@ -38,6 +38,7 @@ Changes to our source Sass files and compiled CSS.
- 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)
- `$enable-grid-classes` doesn't disable the generation of container classes anymore [See #29146](https://github.com/twbs/bootstrap/pull/29146)
+- Renamed `$enable-prefers-reduced-motion-media-query` and `$enable-pointer-cursor-for-buttons` to `$enable-reduced-motion` and `$enable-button-pointers` for brevity.
- Line heights are dropped from several components to simplify our codebase. The `button-size()` and `pagination-size()` do not accept line height parameters anymore. [See #29271](https://github.com/twbs/bootstrap/pull/29271)
- The `button-variant()` mixin now accepts 3 optional color parameters, for each button state, to override the color provided by `color-contrast()`. By default, these parameters will find which color provides more contrast against the button state's background color with `color-contrast()`.
- The `button-outline-variant()` mixin now accepts an additional argument, `$active-color`, for setting the button's active state text color. By default, this parameter will find which color provides more contrast against the button's active background color with `color-contrast()`.