Skip to content

refactor: replace Sass if() with CSS if()#719

Open
anaxite wants to merge 3 commits intopicocss:devfrom
anaxite:dev
Open

refactor: replace Sass if() with CSS if()#719
anaxite wants to merge 3 commits intopicocss:devfrom
anaxite:dev

Conversation

@anaxite
Copy link

@anaxite anaxite commented Jan 21, 2026

As of Sass 1.95.0, the Sass if() function is deprecated in favor of native CSS conditionals. Using PicoCSS SCSS files raises a deprecation warning in projects that use newer Sass versions. This PR fixes the deprecation warning.

  • Fix the single file _modal.css that uses the if() function.
  • Update Sass NPM dependency
  • Update other NPM dependencies to ensure being up-to-date

This PR does not require rebuilding CSS files.

Resolves #717

anaxite and others added 3 commits January 21, 2026 13:47
Sass 1.95.0 required for CSS `if()`. 1.97.1 required for `if()` fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants