You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example - one of several that I received:
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
╷
31 │ ┌ @media (min-width: map.get($values, "breakpoint")) {
32 │ │ #{$css-var-prefix}font-size: map.get($values, "root-font-size");
33 │ │ }
│ └─── nested rule
... │
40 │ #{$css-var-prefix}border-width: 0.0625rem;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
node_modules/@picocss/pico/scss/themes/default/_styles.scss 40:5 @use
node_modules/@picocss/pico/scss/themes/_default.scss 2:1 @use
node_modules/@picocss/pico/scss/_index.scss 7:1 @use
node_modules/@picocss/pico/scss/pico.scss 2:1 @use
static/closient.scss 1:1 root stylesheet
I updated the node Sass package to v 1.77.8 and it caused many deprecation warnings, which I traced to this page: https://sass-lang.com/documentation/breaking-changes/mixed-decls/
I am using a customised version of Pico as per: https://picocss.com/docs/sass.
I have rolled it back to v 1.77.6 for now. Are there plans to update Pico?
The text was updated successfully, but these errors were encountered: