paragon
paragon copied to clipboard
Migrate away from `@import`
See the "Heads up!" section here: https://sass-lang.com/documentation/at-rules/import
The Sass team discourages the continued use of the @import rule. Sass will gradually phase it out over the next few years, and eventually remove it from the language entirely. Prefer the @use rule instead.
Paragon heavily uses @import
, as does its consuming MFEs to import styles from other packages. SCSS recommends the use of @use
, so this issue is to track the work to migrate away from @import
in favor of @use
.
The above linked docs also suggest using a migrator CLI: https://sass-lang.com/documentation/cli/migrator