Release 5.2.0 does not have color-adjust deprecation fix
Created by: Vheissu
Prerequisites
-
I have searched for duplicate or closed issues -
I have validated any HTML to avoid common problems -
I have read the contributing guidelines
Describe the issue
As you can see, a PR was merged which removes the color-adjust
property inside of the _form-check.scss
file for the rule .form-check-input
here.
However, I import the compiled CSS files in my projects because I am using Autoprefixer and PostCSS. I import CSS like this:
import 'bootstrap/dist/css/bootstrap.css';
As you can see in the compiled CSS file, color-adjust
is still there: https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap.css#L2274
Furthermore, looking in the SCSS
directory inside of my node_modules
directory is showing that the color-adjust
property has been removed from the scss
file also. But, it's in the compiled CSS file.
So, either something has gone astray during the build process, or a tool is adding color-adjust
. As a result, in my application that uses Autoprefixer 10.4.7, I am getting the warning: autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
which is tripping up my continuous integration builds as warnings are considered errors in production release environments.
I looked through the releases for 5.2 beta and 5.2 and could see no fixes for this issue mentioned in the notes.
Reduced test cases
Numerous cases have already been outlined in previously closed issues:
What operating system(s) are you seeing the problem on?
Windows, macOS, Linux
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
5.2.0