gears-sass

SASS compiler for Gears


Keywords
gears, django-gears, gears-sass, gears-scss, django
License
ISC
Install
pip install gears-sass==0.2.2

Documentation

gears-sass

SCSS compiler for Gears.

Bundled node-sass version: 0.8.6

Installation

Install gears-sass with pip:

$ pip install gears-sass

Requirements

Usage

Add gears_sass.SASSCompiler to environment's compilers registry:

from gears_sass import SASSCompiler
environment.compilers.register('.scss', SASSCompiler.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
    '.scss': 'gears_sass.SASSCompiler',
}