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

[0.9.4] Sass deprecation warning #3864

Open
robtree opened this issue Jul 30, 2024 · 0 comments
Open

[0.9.4] Sass deprecation warning #3864

robtree opened this issue Jul 30, 2024 · 0 comments

Comments

@robtree
Copy link

robtree commented Jul 30, 2024

Overview of the problem

I'm using Bulma version 0.9.4
This is a Sass issue: I'm using version 1.77.8

Description

#3856 fixed this issue for Bulma v1, but many Bulma users may not be able to upgrade to Bulma v1 due to difficulties with migration, eg. #3867.

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

   ╷
51 │ ┌   &:not(.is-rounded)
52 │ │     border-radius: $radius-small
   │ └─── nested rule
53 │     font-size: $size-small
   │     ^^^^^^^^^^^^^^^^^^^^^^ declaration
   ╵
    node_modules/bulma/sass/elements/button.sass 53:3   button-small()
    node_modules/bulma/sass/elements/button.sass 252:5  @import
    node_modules/bulma/sass/elements/_all.sass 5:9      @import
    node_modules/bulma/bulma.sass 5:9                   @import
    src/styles/app.scss 49:9                            root stylesheet

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

   ╷
51 │ ┌   &:not(.is-rounded)
52 │ │     border-radius: $radius-small
   │ └─── nested rule
53 │     font-size: $size-small
   │     ^^^^^^^^^^^^^^^^^^^^^^ declaration
   ╵
    node_modules/bulma/sass/elements/button.sass 53:3   button-small()
    node_modules/bulma/sass/elements/button.sass 303:7  @import
    node_modules/bulma/sass/elements/_all.sass 5:9      @import
    node_modules/bulma/bulma.sass 5:9                   @import
    src/styles/app.scss 49:9                            root stylesheet

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

    ╷
64  │ ┌       &:nth-child(3)
65  │ │         transform: translateY(-5px) rotate(-45deg)
    │ └─── nested rule
... │
181 │       #{$property}-#{$normal}: $spacing
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
    node_modules/bulma/sass/utilities/mixins.sass 181:5   ltr-property()
    node_modules/bulma/sass/components/navbar.sass 159:3  @import
    node_modules/bulma/sass/components/_all.sass 12:9     @import
    node_modules/bulma/bulma.sass 7:9                     @import
    src/styles/app.scss 49:9                              root stylesheet
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

1 participant