mdb-ui-kit icon indicating copy to clipboard operation
mdb-ui-kit copied to clipboard

Rename deprecated color-adjust property to print-color-adjust

Open Vheissu opened this issue 1 year ago • 0 comments

As per the latest CSS Color Adjustment Module Level 1 specification, the color-adjust property has been deprecated. In its place is the property print-color-adjust. As you can see in version 10.4.6 of Autoprefixer, a deprecation warning was added.

Currently, for anyone using Autoprefixer 10.4.6 onwards with MDB UI Kit, this library will break their builds with the warning unless they suppress them.

Bootstrap implemented the same change in version 5.2 of Bootstrap here.

The fix is to rename the color-adjust property to print-color-adjust, and the warning goes away.

Vheissu avatar Jul 21 '22 01:07 Vheissu