Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #36797
Closed
Open
Issue created Jul 21, 2022 by Administrator@rootContributor3 of 3 checklist items completed3/3 checklist items

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:

  • https://github.com/twbs/bootstrap/issues/36259

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

Assignee
Assign to
Time tracking