README.md in world-flags-0.6.2 vs README.md in world-flags-0.6.2.1

- old
+ new

@@ -25,11 +25,11 @@ `convert flags32_semi.png -resize 75% flags24_semi.png` *Generate adsjusted css files:* The CSS files must have positioning adjusted to fit the new sprites: -Use the resizing tool in `lib/world-flags/tools/resize-css.rb` +Use the resizing tool in `lib/world-flags/tools/resize_css.rb` Edit the last part where ResizeCss is initialized `resizer = ResizeCss.new 32, 24` The last argument (here 24) is the flag size used for calculating new positioning in the css files generated. @@ -38,20 +38,26 @@ `resizer = ResizeCss.new 32, 24, auto-exec: true` See the code for more details on how to adjust to fit your needs. -Note: Needs some love in order to reflect latest stylesheet design. +Run the resizer +`$ ruby resize_css.rb` + +TODO: refactor resize css tool into rake task or similar that takes arguments! + ## Configuration In you asset `application.css` manifest file: ```css */ *= require_self *= require_tree . *= require flags/basic + *= require flags/flags16 + *= require flags/flags16_semi *= require flags/flags32 *= require flags/flags32_semi */ ```