material-components / material-components/material-web

scss uses outdated commands

Open
#5,884 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
11.3k
Forks
1.1k
Avg merge
20h 28m
Merged PRs (30d)
13

Description

### What is affected?

Tooling

### Description

When you try to compile it sass, you get the following warning:

Deprecation Warning [if-function]: The Sass if() syntax is deprecated in favor of the modern CSS syntax.

### Reproduction

Try to compile it with sass

### Workaround

I have not found a workaround

### Is this a regression?

Yes. This used to work, but now it doesn't.

### Affected versions

2.4.1

### Browser/OS/Node environment

Using bun 1.3.6

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

No file or test is identified. Reproduce the SCSS compilation with bun 1.3.6, then locate the source using the deprecated Sass if() syntax; the work is done when compilation no longer emits the reported deprecation warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, scss
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.