smillart / Framework-SASS-Source-Files

Framework SASS Source Files is a Sass-powered framework accomplished by Sass variables, Sass maps, and utility CSS. Ready to use, drop it right into your Sass powered applications.
MIT License
0 stars 1 forks source link

Improve the framework using Sass At-Rules & Built-In Modules #9

Closed smillart closed 9 months ago

smillart commented 3 years ago

The Sass team discourages the continued use of the @import rule. Sass will gradually phase it out over this year (October, 1st 2021 at latest), and eventually remove it from the language entirely (October, 1st 2022 at latest).

Therefore, Sass’s extra functionality comes in the form of new at-rules it adds on top of CSS:

Sass also provides many built-in modules which contain useful functions (and the occasional mixin). These modules can be loaded with the @use sass:[module_name] rule like any user-defined stylesheet, and their functions can be called like any other module member.