Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nex3/firesass
FireSass allows Firebug to display the original Sass filename and line number of Sass-generated CSS styles.
https://github.com/nex3/firesass
Last synced: 16 days ago
JSON representation
FireSass allows Firebug to display the original Sass filename and line number of Sass-generated CSS styles.
- Host: GitHub
- URL: https://github.com/nex3/firesass
- Owner: nex3
- License: other
- Created: 2010-03-19T21:38:29.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-12-03T19:50:13.000Z (almost 12 years ago)
- Last Synced: 2024-10-13T09:04:46.623Z (30 days ago)
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/103988
- Size: 263 KB
- Stars: 105
- Watchers: 8
- Forks: 19
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# FireSass
FireSass is a Firebug extension
that makes Firebug display the Sass filenames and line numbers
of Sass-generated CSS styles
rather than those of the generated CSS.![Screenshot](http://github.com/nex3/firesass/raw/master/skin/screenshot.png)
## Usage
First, [install FireSass](https://addons.mozilla.org/en-US/firefox/addon/103988).
Second, enable Sass's `:debug_info` option.
If you're using Sass with a Ruby web framework, depending on the version,
you probably want to do:config.sass.debug_info = true
for Rails 3.2, or for earlier versions of RailsSass::Plugin.options[:debug_info] = true
Add this to `config/environment.rb` in Rails,
or `config.ru` in other Ruby frameworks.If you're using [Compass](http://compass-style.org/docs/), instead do:
sass_options = {:debug_info => true}
Add this to `config/compass.rb`, or wherever else your Compass configuration file is.
If you're using Sass from the command line,
just pass in the `--debug-info` flag.
Finally, delete all the existing CSS files
so that they'll be regenerated.## Compatibility
FireSass requires Sass 3.0 or later.
FireSass should work with all versions of Firefox after and including 3.0,
and all FireBug versions 1.4 and 1.5.
It might work with FireBug 1.6 (which is in development at time of writing),
but that's not guaranteed.FireSass currently requires the development version of Sass,
available from [GitHub](http://github.com/nex3/haml).