Problem/Motivation

In the sub theme I have the following:

@import "../../../../themes/contrib/bootstrap4/scss/style";

When SCSS tries to generate the code I get the following error:

cmd.exe /D /C call C:\Ruby23-x64\bin\scss.bat --no-cache --update --style compressed "style.scss:C:\mysite\web\themes\custom\mytheme/css/style.css"
error ../../../../themes/contrib/bootstrap4/dist/bootstrap/4.5.3/scss/_root.scss (Line 5: Invalid CSS after "...lor}: #{$value}": expected "{", was ";")

In _root.scss it says

Custom variable values only support SassScript inside `#{}`

Has that got something to do with it?

Comments

tce created an issue. See original summary.

tce’s picture

Title: Invalid CSS after when generating SCSS in subtheme » Invalid CSS when generating SCSS in subtheme
tce’s picture

Title: Invalid CSS when generating SCSS in subtheme » [solved] Invalid CSS when generating SCSS in subtheme
Status: Active » Closed (works as designed)

It's an issue with using deprecated Ruby Sass on my windows computer. Solution is here...

https://stackoverflow.com/questions/46951514/boostrap-4-beta2-sass-compi...