SASS Compile Error

3 replies · opened Jun 24, 2020

WwilsonsheldonJun 24, 2020

Hi there,

When I'm compile SCSS, I'm getting

Error: Undefined operation "100 % !important".
Can you provide your compile command? Curious what I'm doing different.

Thanks,
Wilson

SSemicolon WebSTAFFJun 24, 2020

Hello,

We have just checked this out and it appears to be working fine for us. Please make sure that you are using the Default style.scss File included keeping the following lines intact:


// Initialize
@import "sass/variables";
@import "sass/mixins";

// Bootstrap
@import "sass/bootstrap/bootstrap";

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

WwilsonsheldonJun 25, 2020

Thanks! Can you show your compile command? Are you using regular SASS or Gulp?

I'm also getting slightly different font sizes for headers. Footer H4 for example.

This is my SASS version

1.26.9 compiled with dart2js 2.8.4

Thanks!

SSemicolon WebSTAFFJun 25, 2020

Hello,

Apologies about the Inconveniences caused! Yes, there are 2 bugs with the SASS related to the Footer H4 and a bug with Featured Boxes as well. We have the SASS ready and already fixed for these and an update will be available by tomorrow. Meanwhile, you can update it yourself using the files here: https://drive.google.com/file/d/1m7ZbNO21DgJmwgEMriB3cDsZmBIcb98q/view?usp=sharing .

We use regular SASS to validate the SCSS and quite a few of our users use it using Gulp but haven't reported any compile errors as of yet. But we will try validating the Files on Gulp and fix the issues if any. Thanks for your Patience.

Additionally, if it is helpful, our SASS is built on top the Bootstrap's SASS: https://getbootstrap.com/docs/4.5/getting-started/webpack/ .

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard