Getting started using the Sass preprocessor is easy, provided you have experience with command-line interface tools.
The recommended setup for writing Sass on campus is:
The Ruby Sass release and Compass.app have been deprecated or phased out.
To get started, unpackage the Github package gt_sass_template into your theme's directory.
- All files in your /css/ folder will be overwritten when compiled. So, if you want to save your custom CSS so far, convert your CSS into Sass.
Once you have the package into your theme directory, run node-sass by:
- Open Terminal.
- Navigate to the folder to which gt_sass_template was installed to.
./startupto run the node-sass compiler and watch status.
Now, any changes you make to a Sass file will be compiled into CSS.