OSDN Git Service

Regular updates
authorErik <erikgronwal@users.osdn.me>
Mon, 14 Feb 2022 14:55:05 +0000 (23:55 +0900)
committerErik <erikgronwal@users.osdn.me>
Mon, 14 Feb 2022 14:55:05 +0000 (23:55 +0900)
sass.md

diff --git a/sass.md b/sass.md
index 38593c8..4458676 100644 (file)
--- 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