twbs / twbs/bootstrap

New deprecations in Sass 1.79

Open
#40,849 20 comments 41 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css has-pr v5
Dominant language
MDX
Stars
175k
Forks
78.6k
Avg merge
7h 19m
Merged PRs (30d)
35

Description

Prerequisites
Describe the issue

In Sass 1.79, a number of color-related functions are deprecated, to include color.red(), color.green(), and color.blue(), with the suggested replacement being the new color.channel() function.

Reduced test cases

Compile Bootstrap's SCSS with Sass 1.79

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

v5.3.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by compiling Bootstrap's SCSS with Sass 1.79, as described in the reduced test case, and identify the deprecated color function usages. Replace the deprecated calls with the suggested Sass color.channel() approach; done means the SCSS compiles without these Sass deprecation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
sass
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.