Open mrzool opened 9 years ago
Same error trying to compile Bootstrap Sass port:
CSS Syntax error
Undefined variable: "$alert-padding".
Copying public files
Copying page assets
CSS Syntax error
Did nothing but drop the scss
files in the public
folder. Can't find anything in the documentation.
Have you checked that it'll compile on the command line using the sass
command?
I did! The sass compiles just fine.
On Sat, Aug 30, 2014 at 3:15 AM, Ben Schwarz notifications@github.com wrote:
Have you checked that it'll compile on the command line using the sass command?
— Reply to this email directly or view it on GitHub https://github.com/benschwarz/bonsai/issues/36#issuecomment-53944711.
At a guess, you should place your bootstrap sass elsewhere in the app/site root, and @import
the bootstrap file that you need… This is because I'm more than sure that bonsai is trying to build any sass file in the public directory, and is doing so in order, so for example alert.scss
is being @Import
ed by bonsai, and @variables
has not yet been @imported
…
Basically, if you import the parts of bootstrap that you need, and the required files to build it, then everything should work just fine.
If you can zip-up your bonsai app, and upload it somewhere, I'd be happy to have a splunk around. I haven't actually used bonsai in years, and only do so to answer bug reports … so getting access to your example would be useful.
Hi there,
I have created a
scss
folder in thepublic
folder, but when I runbonsai --repot
thescss
folder gets copied inoutput
as it is and doesn't compile.I'm getting this when I run
bonsai --repot
:Maybe the
CSS Syntax error
has something to do with this?I'm pretty sure that the Sass is ok, I got it from here
Thanks for any help.