Skip to content

Migrate Deprecated Sass Unquote to String.unquote for Dart Compatibility #4006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wesdevpro
Copy link

@wesdevpro wesdevpro commented Jul 23, 2025

@jgthms this is a bugfix.

Proposed solution

Replaces the deprecated global built-in unquote() function with string.unquote() to align with Dart Sass 3.0 requirements. This change affects the getRgbaVar() function in utilities/css-variables.scss, which supports Bulma’s CSS variable parsing.

Tradeoffs

  • Minimal impact to CSS output, but this assumes use of a modern Dart Sass environment.
  • Older Sass versions may not support namespaced functions, so contributors on legacy tooling should be aware.
  • Avoids future build warnings while preserving clarity for maintainers.

Testing Done

None.

Function usage has been validated in Dart Sass and complies with modern syntax guidelines.

Changelog updated?

No.

Related: buefy/buefy#4093

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.

1 participant