Skip to content

Refactor: migrate deprecated Sass @import to @use statements#1254

Merged
yeul merged 1 commit intopaypal:developfrom
hemra-1:migrate-sass-imports
Jan 27, 2026
Merged

Refactor: migrate deprecated Sass @import to @use statements#1254
yeul merged 1 commit intopaypal:developfrom
hemra-1:migrate-sass-imports

Conversation

@hemra-1
Copy link
Contributor

@hemra-1 hemra-1 commented Jan 5, 2026

Description

Refactor: migrate deprecated Sass @import to @use statements

  • Resolve Dart Sass deprecation warnings
  • Replace @import with @use in SCSS files
  • Update variable references with proper namespacing

Used the sass migrator as following:
find . -name *.scss -exec sass-migrator module --migrate-deps {} ;

Screenshots

N/A

Testing instructions

npm test

Test Suites: 27 passed, 27 total
Tests: 2 skipped, 6 todo, 185 passed, 193 total
Snapshots: 6 passed, 6 total
Time: 2.927 s, estimated 3 s
Ran all test suites.

@yeul yeul merged commit 89adcf5 into paypal:develop Jan 27, 2026
66 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 27, 2026
### [1.76.1](v1.76.0...v1.76.1) (2026-01-27)

### Bug Fixes

* header component scss ([#1265](#1265)) ([61ea1b3](61ea1b3))

### Code Refactoring

* fetch new treatments on expiration ([#1262](#1262)) ([ff6ddbf](ff6ddbf))
* migrate deprecated Sass [@import](https://github.com/import) to [@use](https://github.com/use) statements ([#1254](#1254)) ([89adcf5](89adcf5))
* remove core-js-pure dependency ([#1253](#1253)) ([181a8b7](181a8b7))
* UK Pi3 Preapproval ModXO changes ([#1259](#1259)) ([95ed87c](95ed87c))
@github-actions
Copy link

🎉 This PR is included in version 1.76.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants