Firstly, thanks for your work on this project! π
Today I used patch-package to patch @nebular/theme@9.1.0-rc.8 for the project I'm working on.
Warning:
Deprecation This operation is parsed as:
"Nebular Theme: `nb-theme()` cannot find value for key `" + $key + "` for theme `" + theming-variables.$nb-theme-name + ""
but you may have intended it to mean:
"Nebular Theme: `nb-theme()` cannot find value for key `" + $key + "` for theme `" + theming-variables.$nb-theme-name (+"")
Add a space after + to clarify that it's meant to be a binary operation, or wrap
it in parentheses to make it a unary operation. This will be an error in future
versions of Sass.
Here is the diff that solved my problem:
diff --git a/node_modules/@nebular/theme/styles/core/theming/_get-value.scss b/node_modules/@nebular/theme/styles/core/theming/_get-value.scss
index 8dae59d..581c8e9 100644
--- a/node_modules/@nebular/theme/styles/core/theming/_get-value.scss
+++ b/node_modules/@nebular/theme/styles/core/theming/_get-value.scss
@@ -59,7 +59,7 @@
}
@if ($value == null) {
- @warn 'Nebular Theme: `nb-theme()` cannot find value for key `' + $key + '` for theme `'+ theming-variables.$nb-theme-name +'`';
+ @warn 'Nebular Theme: `nb-theme()` cannot find value for key `' + $key + '` for theme `'+ theming-variables.$nb-theme-name (+'`');
}
@return $value;
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
@nebular/theme@9.1.0-rc.8
for the project I'm working on.Warning: Deprecation This operation is parsed as:
but you may have intended it to mean:
Add a space after + to clarify that it's meant to be a binary operation, or wrap it in parentheses to make it a unary operation. This will be an error in future versions of Sass.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.