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

Fix deprecated SASS rules #215

Open
Akron opened this issue Sep 11, 2024 · 0 comments
Open

Fix deprecated SASS rules #215

Akron opened this issue Sep 11, 2024 · 0 comments
Assignees

Comments

@Akron
Copy link
Member

Akron commented Sep 11, 2024

Newer versions of Dart SASS warn with deprecation warnings like the following:

Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

    ╷
17  │ ┌   &.visible {
18  │ │     opacity: 1;
19  │ │   }
    │ └─── nested rule
... │
23  │       position: outside;
    │       ^^^^^^^^^^^^^^^^^ declaration
    ╵
    dev/scss/base/menu.scss 23:5  @import
    dev/scss/base/base.scss 9:9   @import
    dev/scss/kalamar.scss 8:9     root stylesheet

These are easily fixable, though not serious, as long as we can still build it. Could be addressed after Uyens submission.

(reported by @kupietz )

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

No branches or pull requests

2 participants