SassC
Use libsass
with Ruby!
This gem combines the speed of libsass
, the Sass C implementation, with the easy of use of the original Ruby Sass library.
libsass Version
Usage
This library utilizes libsass
to allow you to compile SCSS or SASS syntax
to CSS. To compile, use a SassC::Engine
.
Note: If you want to use this library with Rails/Sprockets, check out sassc-rails.
Additionally, you can use SassC::Sass2Scss
to convert Sass syntax to Scss syntax.
Credits
This gem is maintained by Ryan Boland and awesome contributors.
Changelog
- 1.7.0
- 1.6.0
- 1.5.1
- 2nd attempt at fixing compilation bug (issue #12)
- 1.5.0
- Add support for inline source maps
- Fix compilation bug (issue #12)
- 1.4.0
- Add support for line number comments
- 1.3.0
- Support Sass color custom function arguments
- Adds error handling for exceptions in custom functions
- Custom functions may have optional/default arguments
Contributing
Project Setup
- Clone repo
- Install dependencies -
bundle install
- Run the tests -
bundle exec rake test
Code Changes
- Fork it ( https://github.com/[my-github-username]/sassc/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - try to include tests - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request