Giter VIP home page Giter VIP logo

themes_for_rails's Introduction

Theme For Rails (3 and hopefully later)

Features list

  • Support for adding themes which includes stylesheets, javascripts, views and layouts.
  • add a theme-image-url sass helper method for asset pipeline based themes
  • update the generators and rake tasks to support asset pipeline based themes
  • (NEW) works with the Rails Assets Pipeline without interfering, and leveraging it.

Compatibility

This gem works with Rails from version 3.0 to at least 3.2.1 (current at the moment of writing this readme file).

Documentation

Ideas / Inspiration

  • Add ThemesForRails::Railtie for configuration, so we selectively set the plugin on or off. Also to be able to change several settings.
  • Add routes to allow access to the theme’s static resources (js and cs), unless cached on public folder by capistrano / rake.
  • Extend Action View path in order to make the views accessible. Same for the layouts.
  • More tests ford edge cases. Now I am only testing the happy paths.

Rails 2 Support

This gem only works with Rails 3 (duh). If you want the same exactly behavior, but for Rails 2.x, go here .

Running tests

gem install bundler
bundle install
rake

Authors and contributors

  • lucasefe
  • jedifreeman
  • jbarreneche
  • kule
  • matheusmoreira
  • rafaelss
  • maxjgon

Last but not least

If you are using this gem, please, take a minute to recommend me at Working With Rails.

Recommend Me

themes_for_rails's People

Contributors

lucasefe avatar tanraya avatar jedifreeman avatar rafaelss avatar jbarreneche avatar jenkek avatar kule avatar maxjgon avatar dmathieu avatar

Stargazers

Lambder avatar

Watchers

Lambder avatar James Cloos avatar

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.