Skip to content
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

Migrate from Node Sass to Sass for our asset building. #711

Open
wants to merge 6 commits into
base: release290
Choose a base branch
from

Conversation

tw2113
Copy link
Member

@tw2113 tw2113 commented Feb 18, 2025

This PR moves us away from the now deprecated Node Sass, to just Sass. It also updates our npm run commands to produce resulting css files to match what we're expecting.

On top of that I made use of a migrator package to convert how we reverence colors, mixins, and similar for easier conversion.

Output in the generated CSS files look overall fine with biggest changes being line breaks, less tabbed nesting, and some color reference changes from hex to rgb, among other minor details.

Resources on changes:

https://sass-lang.com/documentation/cli/dart-sass/
https://sass-lang.com/documentation/cli/migrator/
https://sass-lang.com/blog/import-is-deprecated/
https://sass-lang.com/documentation/breaking-changes/mixed-decls/

@tw2113 tw2113 requested a review from lindseywb February 18, 2025 21:28
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