Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate @import rules (CSS) #560

Open
MelSumner opened this issue Oct 31, 2024 · 1 comment
Open

Migrate @import rules (CSS) #560

MelSumner opened this issue Oct 31, 2024 · 1 comment

Comments

@MelSumner
Copy link
Member

Reading through some of the recent logs and seeing the deprecation warning for Sass to move away from @import and use @use instead.

DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

  ╷
1 │ @import 'variables/variables';
  │         ^^^^^^^^^^^^^^^^^^^^^
  ╵
    /tmp/broccoli-1843lUZ9qIu1ub44/out-138-funnel_funnel_styles/app/styles/app.scss 1:9  root stylesheet

DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

  ╷
3 │ @import 'components/components';
  │         ^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    /tmp/broccoli-1843lUZ9qIu1ub44/out-138-funnel_funnel_styles/app/styles/app.scss 3:9  root stylesheet

DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

  ╷
4 │ @import 'object-patterns/object-patterns';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    /tmp/broccoli-1843lUZ9qIu1ub44/out-138-funnel_funnel_styles/app/styles/app.scss 4:9  root stylesheet

DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

  ╷
5 │ @import 'pages/pages';
  │         ^^^^^^^^^^^^^
  ╵
    /tmp/broccoli-1843lUZ9qIu1ub44/out-[138](https://github.com/ember-a11y/ember-a11y-testing/actions/runs/11606114498/job/32317636730?pr=558#step:5:139)-funnel_funnel_styles/app/styles/app.scss 5:9  root stylesheet

DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

  ╷
6 │ @import 'typography/typography';
  │         ^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    /tmp/broccoli-1843lUZ9qIu1ub44/out-138-funnel_funnel_styles/app/styles/app.scss 6:9  root stylesheet

WARNING: 11 repetitive deprecation warnings omitted.
@acorncom
Copy link
Contributor

@MelSumner to clarify, this is for the tests, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants