Compiling SASS : A Guide
You probably have heard of SASS or Syntactically Awesome Style Sheets by now.
If you haven’t go Here.
SASS is a style sheet language that works as an extension to the CSS (which everyone knows is not so great) But SASS cannot be directly used for a project. It has to be compiled into CSS. So how do we go abut doing this?
There are two ways of doing this.
- By Installing specific applications
- By command line tools
First, we will go through some of the applications.
- CodeKit (Paid)
- Hammer (Paid)
- Ghostlab (Paid)
- Prepros (Paid)
- LiveReload (Paid, Open Source)
- Compass.app (Paid, Open Source)
- Koala (Open Source)
- Scout (Open Source)
Koala happens to be my fav!!
By using command line.
It is important to note that whether you are using Linux, Mac or Windows, Ruby will need to be installed first. You can get it Here
Double check by typing
ruby -v
which will return the version of ruby used.
Linux
sudo su -c "gem install sass"
gem is that package manager that comes bundled with Ruby.
Windows
gem install sass
This command will install all dependencies of sass and itself on your system.