Sass @import are deprecated and will be removed in Dart Sass 3.0.0.!
You can also use @import rules, but please be aware that they are deprecated and will be removed in Dart Sass 3.0.0, resulting in a compilation warning. You can learn more about this deprecation here.