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
1
vote
2 answers

Libsass with Susy not working + Gulp

I've no doubt others have got this working... I just haven't quite worked out how right now. Gulp var gulp = require('gulp'); var sass = require('gulp-sass'); var handleErrors = require('../util/handleErrors'); var sourcemaps =…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
1
vote
2 answers

Foundation grunt/libsass sourcemap give wrong path when inspected

I just setup a new project to test the libsass. Installed Foundation, bower and grunt. The project is running fine with grunt watch. Then I open the project in Chrome -->DevTools. I'm inspecting the css generated by the default app.scss, All my…
Dragod83
  • 2,127
  • 3
  • 17
  • 20
1
vote
0 answers

Grunt Libsass not showing error messages

I've intstalled a grunt-libsass, only issue im having is it doesnt show error messageson the browser, so i have no idea wheres the broken code located, or anything. Its showing the errors on terminal but im not gonna open the terminal everytime. Is…
1
vote
1 answer

Compiling with gulp/node/libsass is taking 30+ seconds

I'm using Gulp with node-sass to compile my sass. I am also using node-neat and node-bourbon. However, when I compile, it takes 30-50 seconds! What am I doing wrong? I'm not really sure how libsass plays into gulp-sass and node-sass, or what the…
Steph
  • 340
  • 5
  • 22
0
votes
1 answer

Change LibSassBuilder output directory

I'm using LibSassBuilder in a Blazor project. I have read the docs and it's unclear to me if the package's config allows you to specify an output directory. I'd prefer to keep my .scss files outside of wwwroot and just place the compiled .css files…
user101289
  • 9,888
  • 15
  • 81
  • 148
0
votes
1 answer

Convert a Hex-String to a Hex-Color value in SCSS

I have stored a lot of colors in json-format. I use rootbeer via gulp to turn them into sass maps that can be processed by the scss: { "blue": "33A2FF" } to $colors: ( "blue": "33A2FF" ); I can use the colors just fine with the #{} syntax, but as…
Nachtfunke
  • 329
  • 1
  • 14
0
votes
3 answers

Error while Extending classic Theme Liferay 7.3

I am facing a problem while triying to extend classic theme(even if it s not recomended), but with the new Style book capabilities of liferay it's a good opportunity for us to speed up our theme creartion. I have created a basic theme project using…
0
votes
1 answer

Cannot set output_style for libsass using python to compile SASS on each deploy

Here is a documentation on how to compile SASS to CSS via python including the possibility to set output_style='compressed': https://sass.github.io/libsass-python/ import sass sass.compile(dirname=('sass', 'css'), output_style='compressed') Here is…
dannymo
  • 390
  • 3
  • 13
0
votes
3 answers

Ignore style declaration without value is SCSS

In my scss file I am importing a third-party css file @import 'icons/third-party-icons/style'; Unfortunately, this style is missing the value for the color style .mySelector { content: "\eac2"; margin-left: -1em; color: ; } As expected,…
Ares
  • 1,411
  • 1
  • 19
  • 35
0
votes
0 answers

How to debug libsass library?

I have cloned libsass and sassc and compiled it manually using makefile to generate its executable. Everything works just fine But I need to debug the libsass library to do some changes. I am using VSCode in Mac. For a simple helloworld program,…
vbrin27
  • 723
  • 1
  • 6
  • 25
0
votes
0 answers

How to compile SASS files using dart sass in C/C++ language?

Is it possible to compile sass files using dart sass in my server written in C++? If so, Could you please guide me?
vbrin27
  • 723
  • 1
  • 6
  • 25
0
votes
1 answer

AttributeError: module 'sass' has no attribute 'compile'

I am trying to install odoo12 but getting this error like AttributeError: module 'sass' has no attribute 'compile'. I installed libsass python library which is required for odoo12 after installing thar error happened please, anyone help.
0
votes
1 answer

How do I configure Django to look at the correct Sass installation?

I've taken over a project and I'm having some difficulty getting the server running. I'm getting the error: 'module' object has no attribute 'compile' When I go into a shell: >>> from django_libsass import SassCompiler >>> import sass
alecvn
  • 541
  • 1
  • 4
  • 15
0
votes
1 answer

Eclipse crashes JVM on Ubuntu 16.04

I've used this version of eclipse for over half a year without (too many) problems. However since a Tuesday the JVM crashes very frequently. If I start it from the command line I get the attached backtrace. It seems to indicate some problem in JVM.…
Maarten
  • 101
  • 1
  • 2
0
votes
1 answer

SASS in Sublime Text - Compile main.scss when saving any @import files

I'm running Sublime Text, writing SASS and compiling with Libsass. Each time I update an scss file which is imported via @import to my main scss file I need to then go back to the main.scss and recompile using the ctrl-b build shortcut. Is it…
Toki
  • 517
  • 3
  • 9
  • 27
1 2 3
8 9