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

feat: switch from node-sass (deprecated) to sass #5159

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

dlockhart
Copy link
Member

Switches core's Sass compiler from node-sass which is deprecated to sass. BSI is already using sass.

I updated the imports to the new @use syntax as the other format is also deprecated and will be going away shortly. The new syntax requires that every thing referenced from an import use a namespace that matches the filename.

I've linked this with BSI and verified that the CSS output is identical.

@dlockhart dlockhart requested a review from a team as a code owner November 18, 2024 18:44
$include-pseudo-classes: false,
$line-height: normal,
$padding: 0.5rem 0.75rem,
$padding-focus: calc(0.5rem - 1px) calc(0.75rem - 1px)
);
overflow: auto;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having rules declared after an @include is also deprecated. Moving it up to the top has no effect on the CSS.

Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-5159/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@dlockhart dlockhart merged commit ae87616 into main Nov 18, 2024
6 checks passed
@dlockhart dlockhart deleted the GAUD-7192/update-sass branch November 18, 2024 20:54
Copy link

🎉 This PR is included in version 3.70.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants