diff --git a/sass.md b/sass.md index 38593c8be..44586760f 100644 --- a/sass.md +++ b/sass.md @@ -145,8 +145,11 @@ body { ```scss @import './other_sass_file'; +@use './other_sass_file'; ``` +The `@import` rule is discouraged because will get eventually [removed from the language](https://sass-lang.com/documentation/at-rules/import). +Instead, we should use the [`@use` rule](https://sass-lang.com/documentation/at-rules/use). The `.scss` or `.sass` extension is optional. ## Color functions