Permalink
Browse files

restore the statically generated flutie.css

  • Loading branch information...
1 parent 1f32993 commit 073f12f4f924f06676423afda2ab412491413435 @mjankowski mjankowski committed Jun 29, 2011
Showing with 580 additions and 5 deletions.
  1. +2 −4 README.md
  2. +1 −1 lib/tasks/flutie.rake
  3. +577 −0 public/stylesheets/flutie.css
View
@@ -16,7 +16,7 @@ After you've bundled, run the installer:
rake flutie:install
-The installer will copy the Flutie stylesheets into public/stylesheets/sass/flutie
+The installer will copy the Flutie stylesheets sass into public/stylesheets/sass/flutie, and a static flutie.css into public/stylesheets/ in your app.
Once Flutie is installed, with your application running (not in production environment) you can browse to /styleguides. This will present you with many standard markup elements that are present in a Rails application, in your default application layout.
@@ -55,9 +55,7 @@ To add custom styles to the styleguide add partials to the app/views/styleguides
<li class="todo">This is a todo item</li>
</ol>
-Plugin authors can also add to the styleguide by ensuring that their view path
-is in ActionController::Base.view_paths and by placing a partial under the
-styleguides directory. For example:
+Plugin authors can also add to the styleguide by ensuring that their view path is in ActionController::Base.view_paths and by placing a partial under the styleguides directory. For example:
ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), 'views'))
@@ -12,6 +12,6 @@ namespace :flutie do
desc 'install flutie stylesheets into public/ directory'
task :install => :environment do
# Copy the flutie stylesheets into rails_root/public/stylesheets/sass
- copy_files("../../public/stylesheets/sass/flutie", "/public/stylesheets/sass", directory)
+ copy_files("../../public/stylesheets", "/public", directory)
end
end
Oops, something went wrong.

0 comments on commit 073f12f

Please sign in to comment.