mdbootstrap / mdb-ui-kit

Bootstrap 5 & Material Design UI KIT
https://mdbootstrap.com/docs/standard/
Other
24.06k stars 3.53k forks source link

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

Closed Vheissu closed 1 year ago

Vheissu commented 1 year ago

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.

gbujanski commented 1 year ago

fixed in 6.0.0