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 Warning #668

Open
stijns96 opened this issue Jul 10, 2024 · 2 comments
Open

SASS Deprecation Warning #668

stijns96 opened this issue Jul 10, 2024 · 2 comments
Labels
needs triage This issue has not been triaged by maintainers

Comments

@stijns96
Copy link

stijns96 commented Jul 10, 2024

Describe the bug

I'm using SCSS in my projects and use SASS to compile it. However, they now giving me this nesting warnings. More info here.

The warnings only appear with sass v1.77.7

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


44  │ ┌   body:not(.is-using-mouse) & :focus {
45  │ │     box-shadow: $fancybox-focus-shadow;
46  │ │   }
    │ └─── nested rule
... │
52  │     --carousel-button-svg-height: 24px;
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration

    node_modules/@fancyapps/ui/src/Fancybox/scss/base.scss 52:3  @import
    ~@fancyapps/ui/src/Fancybox/Fancybox.scss 6:9                @use
    src/assets/scss/modules/fancybox/index.scss 1:1              root stylesheet

Warning: 8 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.

Reproduction

/

Additional context

No response

@stijns96 stijns96 added the needs triage This issue has not been triaged by maintainers label Jul 10, 2024
@Patta
Copy link

Patta commented Jul 10, 2024

@stijns96 seems that this is the wrong repo. issue belongs to https://github.com/nolimits4web/swiper

@stijns96
Copy link
Author

stijns96 commented Jul 10, 2024

Hi @Patta,

I copied it from my issue in swiperjs indeed. I'm going to update this issue, because it is also happening with Fancybox.

Update
Description now has been updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants