]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
mention color contrast function change
authorMark Otto <markdotto@gmail.com>
Wed, 18 Oct 2017 01:37:11 +0000 (18:37 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 18 Oct 2017 01:37:11 +0000 (18:37 -0700)
docs/4.0/migration.md

index 8a0d3d3faad6a2dcebdda0fb3aabb5faeb44f234..5274e3c4be08863e70f4fc4fb288833702a0af20 100644 (file)
@@ -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