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 #156

Open
cage1618 opened this issue Jul 14, 2024 · 2 comments
Open

Sass deprecation warning #156

cage1618 opened this issue Jul 14, 2024 · 2 comments

Comments

@cage1618
Copy link

Got the below waring:

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/@chatscope/chat-ui-kit-styles/themes/default/components/_avatar.scss

108 │ bottom:4%;
│ ^^^^^^^^^ declaration

┌──> node_modules/@chatscope/chat-ui-kit-styles/themes/default/helpers/_mixins.scss
109 │ ┌ .#{$bullet-class} {
110 │ │ width: $bullet-width;
111 │ │ min-width: $bullet-width;
112 │ │ height: $bullet-width;
113 │ │ }
│ └─── nested rule

node_modules/@chatscope/chat-ui-kit-styles/themes/default/components/_avatar.scss 108:7 @import
node_modules/@chatscope/chat-ui-kit-styles/themes/default/main.scss 8:9 @import

sass version: 1.77.8

@cage1618 cage1618 changed the title Sass Deprecation Deprecation Sass deprecation warning Jul 14, 2024
@cool3rain
Copy link

npm install [email protected] --save-exact -D

It's worked for me!

@cage1618
Copy link
Author

npm install [email protected] --save-exact -D

It's worked for me!

yes, [email protected] is worked, but I want to use the latest sass.

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

2 participants