Questions tagged [libsass]

Libsass is a SASS pre-processing language for CSS compiled in C instead of Ruby. It allows you to write cleaner style-sheets and makes collaboration on your CSS a breeze. Libsass is know faster, but its development is a bit delayed.

Sass is a pre-processing language for CSS. It allows you to write cleaner style-sheets and makes collaboration on your CSS a breeze.

131 questions
0
votes
2 answers

How to put Fraction number in front of unit in SASS

I have the following SASS code: margin: #{-5/16}rem I get with this code: margin: -5/16rem I want this output: margin: -0.3125rem I also tried this: margin: (-5/16)rem but this results in: margin: -0.3125 rem <- notice the space between number…
0
votes
0 answers

npm run build error - malloc: error for object 0x1023e9fd0: pointer being freed was not allocated

node version: 8.10.0 npm -v: 5.6.0 system: mac on running npm run build, system throws following error 67% building modules 2081/2181 modules 100 active ...ent/completed-shipment.component.scssng(85928,0x70000312e000) malloc: *** error for…
sbiyer
  • 1
  • 1
0
votes
1 answer

"Resting" & in Sass

I'm importing sass classes from another project and want to provide a wrapper to keep these styles localised. My wrapper looks like this .my-wrapper { @include "framework-main" } I first looked fine but then I noticed that some tiles are…
Miroslav Ligas
  • 1,287
  • 8
  • 22
0
votes
1 answer

Python-libsass doesn't recognize sass syntax?

I am trying to compile sass with python-libsass package, am I doing something wrong? It seems that I am using the correct sass syntax but still getting wierd errors, it wants semicolons at the end of each line, very strange: > pip install libsass >…
Bob
  • 5,809
  • 5
  • 36
  • 53
0
votes
0 answers

How to pass a Swift String that just contains white spaces to a C method?

I wrote a Swift wrapper around the C LibSass library and have some trouble with passing a non-empty String to a C method. The LibSass library provides a method to set a custom indent value. Because this method expects a const char* I know that I can…
0
votes
0 answers

Libsass error: UnicodeEncodeError: 'ascii' codec can't encode character

After upgrading my ubuntu inside VM to 14.04 - I started getting this error in pyCharm UnicodeEncodeError: 'ascii' codec can't encode character u'\ue94b' in position 66818: ordinal not in range(128) It comes from libsass trying to compile a scss…
Emil Mladenov
  • 320
  • 1
  • 4
  • 10
0
votes
1 answer

ember-cli-scss compile error with SASS Lists and Maps

Given a ember-cli application with the ember-cli-scss addon and following SCSS Code containing a map: $mdb-color: ( "lighten-5": #D0D6E2, "lighten-4": #B1BACE, "lighten-3": #929FBA, "lighten-2": #7283A7, "lighten-1": #59698D, …
phortx
  • 849
  • 5
  • 21
0
votes
1 answer

How can I target the syntactical parent when using the ampersand?

I'm trying to remove some duplication in my scss selector. .container { .operation { color: green; } .row.is-active &, .row:hover & { .operation { color: inherit; } } } I tried rewriting it like this: .container { …
Willem D'Haeseleer
  • 19,661
  • 9
  • 66
  • 99
0
votes
1 answer

How to use compass on Grunt with libsass instead of ruby sass?

We've been using the Ruby version of the sass compiler with compass and grunt-contrib-sass for quite a while but it's very slow. Since libsass is faster than its Ruby pendant, we replaced grunt-contrib-sass with grunt-sass. Unfortunately, the docs…
Timo Ernst
  • 15,243
  • 23
  • 104
  • 165
0
votes
2 answers

Use cached libsass binary when installing grunt-sass

I have lots of projects that use grunt-sass, which depends on node-sass, which depends on libsass. Everytime I checkout one of those projects from the their git repository and npm install them, libsass is compiled again and in my computer, this…
armoucar
  • 408
  • 1
  • 4
  • 15
0
votes
2 answers

What would cause a sass file to break compilation due to a line break?

I have a sass file: sitemap.scss It contains only the following (for now): .hero { height: 600px; background: none; } I'm using gulp-sass which has, up until now, compiled my sass perfectly fine. The output error when compiling this file…
David Vasquez
  • 1,163
  • 1
  • 15
  • 22
0
votes
4 answers

Error: The `libsass` binding was not found

Running express app using node-sass-middleware give me this error on ubuntu: 0 info it worked if it ends with ok 1 verbose cli [ '/home/mohamed/.nvm/versions/node/v0.12.7/bin/node', 1 verbose cli …
elkebirmed
  • 2,247
  • 6
  • 24
  • 35
0
votes
1 answer

Error installing npm grunt-libsass

I'm trying to install grunt-libsass like this: npm install grunt-libsass --save-dev but I get this error: npm WARN engine grunt-libsass@0.2.1: wanted: {"node":"0.10.27"} (current: {"node":"5.1.1","npm":"3.3.12"}) npm WARN engine…
Jakub Kohout
  • 1,854
  • 3
  • 21
  • 36
0
votes
0 answers

Mixin won't accept @content block with libsass

The error I get: DEPRECATION WARNING: Passing white, a non-string value, to unquote() will be an error in future versions of Sass. on line 56 of src/scss/_library.scss events.js:85 throw er; // Unhandled 'error' event ^ Error:…
sledgeweight
  • 7,685
  • 5
  • 31
  • 45
0
votes
1 answer

Susy prefix, suffix, pad wrong output with gutter-position inside

I don't know what is happening with the output of prefix, suffix and pad when using gutter-position: inside. For example: $susy: ( columns: 12, gutter-position: inside, global-box-sizing: border-box ); body { @include…
Mireba
  • 35
  • 5
1 2 3
8 9