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

Sass deprecation warnings (v1.77.7): Mixed declarations #588

Open
7ochem opened this issue Sep 3, 2024 · 0 comments
Open

Sass deprecation warnings (v1.77.7): Mixed declarations #588

7ochem opened this issue Sep 3, 2024 · 0 comments
Labels
bug report A submitted bug report, not yet validated.

Comments

@7ochem
Copy link

7ochem commented Sep 3, 2024

Describe the bug
I updated all my dependencies in my Nuxt project and now I see a lot of deprecation warnings:

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

   ┌──> node_modules/@braid/vue-formulate/themes/snow/_inputs.scss
225│       border-color: $formulate-green;
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
   ╵
   ┌──> node_modules/@braid/vue-formulate/themes/snow/_variables.scss
52 │ ┌   &:focus {
53 │ │     outline: 0;
54 │ │     border: 1px solid $formulate-green;
55 │ │   }
   │ └─── nested rule
   ╵
    node_modules/@braid/vue-formulate/themes/snow/_inputs.scss 225:5  @import
    assets/scss/formulate.scss 3:9                                    root stylesheet

To Reproduce
Steps to reproduce the behavior:

  1. Update sass package to 1.77.7
  2. See console output (during building the project)

Expected behavior
No deprecation warnings from Sass

@7ochem 7ochem added the bug report A submitted bug report, not yet validated. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A submitted bug report, not yet validated.
Projects
None yet
Development

No branches or pull requests

1 participant