-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
I have got a deprecation warning
!default should only be written once for each variable.
This will be an error in Dart Sass 2.0.0.
╷
10 │ $box-shadow-up: 0 0.5em 1em rgba(#000, 0.175) !default !default;
│ ^^^^^^^^
╵
Here is the diff that solved the warning:
diff --git a/node_modules/react-widgets/scss/popup.scss b/node_modules/react-widgets/scss/popup.scss
index 3ddc5c5..9c812a7 100644
--- a/node_modules/react-widgets/scss/popup.scss
+++ b/node_modules/react-widgets/scss/popup.scss
@@ -7,7 +7,7 @@ $border: $widget-border-color !default;
$border-radius: $widget-border-radius !default;
$box-shadow-offset: 1em !default;
$box-shadow: 0 0.5em 1em rgba(#000, 0.175) !default;
-$box-shadow-up: 0 0.5em 1em rgba(#000, 0.175) !default !default;
+$box-shadow-up: 0 0.5em 1em rgba(#000, 0.175) !default;
$zindex: 1005 !default;
$zindex-focused: $zindex + 1 !default;This issue body was partially generated by patch-package.
ivan-artkod, mloginov and olmobrutall
Metadata
Metadata
Assignees
Labels
No labels