Some style helpers used in a lot of our apps.
This Gem is still work in process!
Its just the start to outsource my style framework (I mostly rebuild for every app).
It is mostly driven by my own habits, so I don't know if its usefull for others.
add the gem to your applications gemfile
gem "magic_stylez"
run the generator
$ rails g magic_stylez:install
add to stylesheets
SASS:
@import 'magic-stylez'; // import all
@import 'magic-min'; // import basic
CSS:
//= 'magic-stylez'; /* import all */
//= 'magic-min'; /* import basic */
add to javascripts
//= 'magic-stylez'; /* import all */
//= 'magic-min'; /* import basic */
A lot of code for this gem is taken from bootstrap-sass, so thank you guys for the great work.
Same goes for bourbon thanks for a lightweight helper set.
Also thanks to all the people, how share their knowlegde on stackoverflow.
MIT-License
© 2014 Torsten Wetzel (berlinmagic UG)