akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.07k stars 1.51k forks source link

SassError: Expected whitespace. #3139

Open a-adeleye opened 2 years ago

a-adeleye commented 2 years ago

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch @nebular/theme@9.1.0-rc.6 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@nebular/theme/components/layout/_layout.component.theme.scss b/node_modules/@nebular/theme/components/layout/_layout.component.theme.scss
index e4a53df..fe5c072 100644
--- a/node_modules/@nebular/theme/components/layout/_layout.component.theme.scss
+++ b/node_modules/@nebular/theme/components/layout/_layout.component.theme.scss
@@ -96,7 +96,7 @@
       }
     }

-    @media screen and(min-width: $layout-window-mode-max-width + 150px) {
+    @media screen and (min-width: $layout-window-mode-max-width + 150px) {
       $padding-top: calc(#{nb-theme(layout-window-mode-padding-top)} * 0.5);

       @include window-mode($padding-top);

This issue body was partially generated by patch-package.

BenjaminBrandmeier commented 2 years ago

@a-adeleye This is already fixed since @nebular/theme@9.1.0-rc.7. (see: https://github.com/akveo/nebular/commit/5740682ec1d122bc59c2a3a0ee94feab4b50fbe5)

a-adeleye commented 2 years ago

Thank you