From: Mark Otto Date: Wed, 18 Oct 2017 01:37:11 +0000 (-0700) Subject: mention color contrast function change X-Git-Tag: v4.0.0-beta.2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c075968c14832447abfb770f435cd0d9169875fa;p=thirdparty%2Fbootstrap.git mention color contrast function change --- diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 8a0d3d3faa..5274e3c4be 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -18,6 +18,7 @@ While in beta, we aim to have no breaking changes. However, things don't always - Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed. - Dropped Bower support as the package manager has been deprecated for alternatives (e.g., Yarn or npm). [See bower/bower#2298](https://github.com/bower/bower/issues/2298) for details. - Bootstrap now requires jQuery 3.0.0 or higher. +- Changed the `color-yiq` from a mixin that included the `color` property to a function that returns a value, allowing you to use it for any CSS property. For example, instead of `color-yiq(#000)`, you'd write `color: color-yiq(#000);`. ### Highlights