Embedded Sass Polyfill for SassC Ruby
Use sass-embedded
with SassC Ruby!
This library polyfills sassc
with the sass-embedded
implementation.
Install
gem install sassc-embedded
Usage
To compile, require 'sassc/embedded'
before use a SassC::Engine
, e.g.:
require 'sassc/embedded' SassC::Engine.new(sass, style: :compressed).render
See rubydoc.info/gems/sassc for full API documentation.
Behavioral Differences from SassC Ruby
- Option
:style => :nested
behaves as:expanded
. - Option
:style => :compact
behaves as:compressed
. - Option
:precision
is ignored. - Option
:line_comments
is ignored. - Argument
parent_path
inImporter#imports
is set to value of option:filename
.