@import rules are deprecated and it's recommend to replace it by @use.
https://sass-lang.com/documentation/at-rules/import
The Sass team discourages the continued use of the @import rule. Sass will gradually phase it out over the next few years, and eventually remove it from the language entirely. Prefer the @use rule instead. (Note that only Dart Sass currently supports @use. Users of other implementations must use the @import rule instead.)
@importrules are deprecated and it's recommend to replace it by@use.https://sass-lang.com/documentation/at-rules/import