compass-selector-warn

============

Build Status

This is a compass extension that warns you if you're using to many css selectors.

Installation

Just go to your terminal an type this

sudo gem install compass-selector-warn

How to use

In your compass config file add this line

require "compass-selector-warn"

since v0.2

Since v0.2 you can add this lines to your compass config file to adjust the warning threshold and the warning text.

The default-value is 4096 if you don't set this var in your config.

selector_warn_max = 4096
selector_warn_txt = "According to IE 6-9 architecture, maximum number of CSS selectors in one file is #{selector_warn_max}."

Note

This is one of my first compass extension, so if you have some annotations don't hesitate and write it here.