Skip to content

aslamnd/less-for-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--~~ 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/

About

Plug-and-play for http://lesscss.org/ in Rails apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published