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

Run sass-migrator #5474

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Run sass-migrator #5474

merged 2 commits into from
Jan 9, 2025

Conversation

Vinnl
Copy link
Collaborator

@Vinnl Vinnl commented Jan 9, 2025

This fixes Sass deprecation warnings by running

npx sass-migrator division **/*.scss

and

npx sass-migrator module **/*.scss

These warnings start to show up after upgrading to Next.js 15, so this is in preparation for that.

The only manual change after that was replacing math.div with list.slash in the $text-title-* and $text-body-* variables in tokens.scss, as the / there wasn't part of a division.

References:

Jira: MNTOR-3861

This fixes Sass deprecation warnings by running

  npx sass-migrator division **/*.scss

and

  npx sass-migrator module **/*.scss

The only manual change after that was replacing `math.div` with
`list.slash` in the `$text-title-*` and `$text-body-*` variables
in tokens.scss, as the `/` there wasn't part of a division.
@Vinnl Vinnl added the Review: µ Code review time: 5 minutes or less label Jan 9, 2025
@Vinnl Vinnl requested review from codemist and flozia January 9, 2025 15:46
@Vinnl Vinnl self-assigned this Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

@Vinnl Vinnl merged commit 1e9cf4a into main Jan 9, 2025
16 checks passed
@Vinnl Vinnl deleted the sass-migrator branch January 9, 2025 17:14
Copy link

github-actions bot commented Jan 9, 2025

Cleanup completed - database 'blurts-server-pr-5474' destroyed, cloud run service 'blurts-server-pr-5474' destroyed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: µ Code review time: 5 minutes or less
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants