Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plug-and-play for http://lesscss.org/ in Rails apps
branch: master

This branch is 7 commits ahead of tooky:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE
README
init.rb

README

--~~ Less for Rails ~~--

A plug-and-play hook for the fabulous Less CSS syntax, http://lesscss.org/.

If you're deploying to Heroku, go here: http://github.com/augustl/less_for_rails_with_cache_control/tree




              -- Usage --
       
      1. Install the gem, `gem install less`       
      2. Install the plugin, 
        `script/plugin install git://github.com/augustl/less-for-rails.git`
      3. Create public/stylesheets/yourfile.less
      4. Use <%= stylesheet_link_tag "yourfile" %> in the views, as normal.
      
      It will generate one .css for each .less
      in public/stylesheets.
    
    
    
    
    
    
    -- It knows about production mode --
    
          In production mode, it only compiles the CSS when
          the application boots.
          
          In development mode, it compiles the CSS all the
          time, so that you can edit your .less and reload
          the site to see how it looks. It is very fabolous,
          and the plugin has won many prizes for this.
          
          
          
          
                          -- Git --
                          
                      Are you using Less for all your stylesheets? Perhaps
                      you should add `public/stylesheets/*.css` to your
                      .gitignore.
          
          
          
  
        -- Me --
        
  I am August Lilleaas. http://august.lilleaas.net/
Something went wrong with that request. Please try again.