New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
math.div changes applied to non-division variables #1224
Comments
Pushed v3.4.3 with the fix (#1225) |
We're still seeing something like this on v3.4.3:
|
/cc @AprilArcus |
Looking |
@mockdeep This error appears to be due to the use of SassC instead of dart-sass. SassC wraps libsass, which does not support the If compatibility with SassC and libsass are necessary, I recommend you remain on 3.4.1. Otherwise, I recommend you upgrade your sass compiler to an appropriate version of dart-sass (i.e. |
Okay, thanks, will do. |
SassError: Invalid CSS after "...point-max: math": expected expression (e.g. 1px, bold), was ".div($grid-float-br" from line 12 of app/styles/styles.scss >> $grid-float-breakpoint-max: math.div($grid-float-breakpoint - 1) !default; --------------------------------^ > This error appears to be due to the use of SassC instead of dart-sass. > SassC wraps libsass, which does not support the math.div syntax. SassC > and libsass are deprecated. > > I recommend you upgrade your sass compiler to an appropriate version. > > -- @AprilArcus, twbs/bootstrap-sass#1224 (comment)
SassError: Invalid CSS after "...point-max: math": expected expression (e.g. 1px, bold), was ".div($grid-float-br" from line 12 of app/styles/styles.scss >> $grid-float-breakpoint-max: math.div($grid-float-breakpoint - 1) !default; --------------------------------^ > This error appears to be due to the use of SassC instead of dart-sass. > SassC wraps libsass, which does not support the math.div syntax. SassC > and libsass are deprecated. > > I recommend you upgrade your sass compiler to an appropriate version. > > -- @AprilArcus, twbs/bootstrap-sass#1224 (comment)
assets/stylesheets/bootstrap/_variables.scss
andtemplates/project/_bootstrap-variables.sass
have had some lines converted to math.div, but the original variables were not division (or were in comments.) Examples:$container-desktop: (940px + $grid-gutter-width) !default;
is now
$container-desktop: math.div(940px + $grid-gutter-width) !default;
// Small screen / tablet
is now
// Small screen, tablet
This causes a sass error (sass@1.47.0)
The text was updated successfully, but these errors were encountered: