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 => :nestedbehaves as:expanded. - Option
:style => :compactbehaves as:compressed. - Option
:precisionis ignored. - Option
:line_commentsis ignored. - Argument
parent_pathinImporter#importsis set to value of option:filename.