Stasis-Compass
Configures Stasis (with SCSS/SASS) to load compass mixins.
Installation
Add this line to your stasis project's Gemfile:
gem 'stasis-compass'
You may remove:
gem 'compass'
gem 'stasis'
Because they will be automatically included in your bundle, or you may keep them in your gemfile to pull a specific version of compass / stasis. This should work with any compass >= 0.10.1 and stasis >= 0.1.9.
And then execute:
$ bundle exec stasis
as usual to compile your project.
Usage
In a SCSS or SASS file, import and include mixins:
// style.css.scss
@import "compass/css3/opacity";
div {
@include opacity(0.5);
}
// style.css.sass
@import "compass/css3/opacity"
div
@include opacity(0.5)
See the Compass Reference for more information.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request