We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Theme Studio scss errors

When using theme studio and the scss option I get multiple of the following errors:

Base-level rules cannot contain the parent-selector-referencing character '&'.

Anybody experienced this? Am I missing something?

Many thanks


5 Replies

JA Jesus Arockia Sankaran S Syncfusion Team December 4, 2018 10:47 AM UTC

Hi Frederik, 

Thank you for contacting Syncfusion support.  

We have checked the reported issue, but we are not able to reproduce the it with “generated scss file from theme-studio”  

We appeal you to share below details which will be helpful to resolve this as earlier as possible. 
    1)  Code snippet of the issue line 
    2) angular cli version and angular version 

For your convenience, we have created a simple sample by using  angular-cli 


Please get back to us with requested details. 

Regards,  
Jesus Arockia Sankaran S 
 



RC Richard Cook December 16, 2018 02:27 PM UTC

Hi

I'm getting this, too - in VS 2017, with the .SCSS file downloaded from Theme Studio.

Error in plugin "sass"
Message:
    wwwroot\css\ejsbootstrap.scss
Error: Base-level rules cannot contain the parent-selector-referencing character '&'.
        on line 10898 of wwwroot/css/ejsbootstrap.scss, in mixin `@content`
        from line 111 of wwwroot/css/ejsbootstrap.scss, in mixin `export-module`
        from line 10679 of wwwroot/css/ejsbootstrap.scss
>>     &.e-bigger .e-switch-wrapper,
   ----^

Hopefully that's enough to track this issue down.

Kind regards

Richard


JA Jesus Arockia Sankaran S Syncfusion Team December 17, 2018 01:35 PM UTC

Hi Richard, 
 
We appeal you to share below details which will be helpful to resolve this as earlier as possible.  
 
  1. sass complier name
  2. share the sass complier process steps
 
Please get back to us with required details.  
 
Regards,  
Jesus Arockia Sankaran S 
 



FR frederik December 17, 2018 03:06 PM UTC

Apologies - wanted to go and back and see the steps I followed but implemented another solution for now and moved this to the backlog. will update once i get back to seeing if I can use syncfusion for this.
All the best


JA Jesus Arockia Sankaran S Syncfusion Team December 18, 2018 10:28 AM UTC

Hi Frederik,  

Thanks for you update and we will wait until hear from you further.  

Regards, 
Jesus Arockia Sankaran S 


Loader.
Live Chat Icon For mobile
Up arrow icon