You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sass has deprecated @import, something that Furo relies on fairly heavily. The automated migration tool does not work for how Furo's code is layed out / built, so... I'll likely need to change how the styles are built.
Reproducer
Build with stb compile
Notice the deprecation warnings.
Expectation
No deprecation warnings.
This was requested by a maintainer.
I was asked to open an issue in a discussion by a maintainer.
Hi, Bootstrap has done the transition to remove 'import' rule in profit of use/forward rules and migrated to the Sass builtin modules, there is a huge commit in a development branch:
To restore the basic @import behavior to include the CSS rules like .foo {content: "plop";} from a _the_module.sass module just use @use the_module;.
To include mixins for usage you can use a joker like @use "foo" as *;, every functions, variables and mixins from _foo.sass module will be callable directly without any prefix.
If you just use @use foo; your functions, variables and mixins will need to be called with the module name as a prefix like foo.myfunction();.
Except the import/use rules you won't need to rewrite your Sass modules.
What's happening?
Sass has deprecated
@import
, something that Furo relies on fairly heavily. The automated migration tool does not work for how Furo's code is layed out / built, so... I'll likely need to change how the styles are built.Reproducer
stb compile
Expectation
No deprecation warnings.
This was requested by a maintainer.
Code of Conduct
The text was updated successfully, but these errors were encountered: