Sass-3 warnings with Themes on GitHub

Given this warning:

Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

Docs say @import needs to be replaced with @use but its not as simple as just doing that.

Are there any moves to update any of the themes at {GitHub Pages themes · GitHub](GitHub Pages themes · GitHub) especially the first 6 (Have any been updated?)
I was using leap-day. cayman hasn’t been updated, tried that

PS Tried all of the first 6 listed and they use @import

Do you know about a good tutorial on how to make this sass update? The template theme I am currently a maintainer is also experiencing this.

Please notice that people themes that wants to be compatible with GitHub pages is stuck using older SASS, since GH-Pages is stuck in Jekyll 3.x and thus locked to jekyll-sass-converter-2.x.

Check this answer from the Maintainer, ashmaroli Replace @import with @use by rgsteele · Pull Request #9777 · jekyll/jekyll · GitHub (there are a bit of context in the discussion that I added in the other comment).

If you don’t mind keeping compatibility, there are only a few changes needed. I believe SASS team added a tool to automatize most of the changes. I’ve documented in my blog the changes I’ve applied to my SCSS to be compatible with modern SASS (content in pt-BR) Atualizando o SASS do Computaria .

The main changes:

  • the darken function
  • @import deprecated (this might need to change some variables and how you use it)
  • placeholder selectors like %vertical-rhythm/%clearfix must be rethought, if they are declared in one file and used in another