Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 578 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 578 Bytes

Sassy

My personal collection of Sass helpers.

It's very simple and only includes helpers I actually use in my workflow.

No it doesn't compare to Compass and it doesn't aim to.

Using Sass Extensions

Command Line

Pass the extension script you want to use to the precompiler with the -r options

$ sass my_file.scss my_file.css -r ./sass_extensions/add_to_end_of_filename.rb

Rails Asset Pipeline

Put the extension script in lib/assets and require it in application.rb

require File.expand_path("lib/assets/add_to_end_of_filename.rb")