Closed
Description
I'm not quite sure which update caused this, but I'm getting a deprecation warning., as below.
Well the original is in beautiful console colour, but you get the general idea.
We can read all about it but I think I can't fix it.
I'm using a my-bulma.scss
file which imports the various files like this:
@forward "bulma/sass/components/modal";
It still seems to work, but it's noisy and presumably will stop eventually.
Thanks
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\bulma\sass\components\navbar.scss
257 │ align-self: center;
│ ^^^^^^^^^^^^^^^^^^ declaration
╵
┌──> node_modules\bulma\sass\utilities\mixins.scss
213 │ ┌ &:nth-child(3),
214 │ │ &:nth-child(4) {
215 │ │ opacity: 0;
216 │ │ }
│ └─── nested rule
╵
node_modules\bulma\sass\components\navbar.scss 257:3 @forward
src\styles\my-bulma.scss 31:1 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
┌──> node_modules\bulma\sass\components\navbar.scss
258 │ margin-inline-start: auto;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
┌──> node_modules\bulma\sass\utilities\mixins.scss
213 │ ┌ &:nth-child(3),
214 │ │ &:nth-child(4) {
215 │ │ opacity: 0;
216 │ │ }
│ └─── nested rule
╵
node_modules\bulma\sass\components\navbar.scss 258:3 @forward
src\styles\my-bulma.scss 31:1 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
┌──> node_modules\bulma\sass\components\navbar.scss
259 │ margin-inline-end: 0.375rem;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
┌──> node_modules\bulma\sass\utilities\mixins.scss
213 │ ┌ &:nth-child(3),
214 │ │ &:nth-child(4) {
215 │ │ opacity: 0;
216 │ │ }
│ └─── nested rule
╵
node_modules\bulma\sass\components\navbar.scss 259:3 @forward
src\styles\my-bulma.scss 31:1 root stylesheet
Metadata
Metadata
Assignees
Labels
No labels