Coder Social home page Coder Social logo

nex3 / firesass Goto Github PK

View Code? Open in Web Editor NEW
105.0 8.0 19.0 269 KB

FireSass allows Firebug to display the original Sass filename and line number of Sass-generated CSS styles.

Home Page: https://addons.mozilla.org/en-US/firefox/addon/103988

License: Other

JavaScript 77.89% Ruby 22.11%

firesass's Introduction

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

Usage

First, install FireSass. 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 Rails

Sass::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, 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.