Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move flutie.scss to _flutie.scss so that it can work both as @import

…and require in rails 3.1 apps using sass-rails
  • Loading branch information...
commit a43e7bb4cac1b493f077cbc7b649b671be55bddb 1 parent 13936da
@mjankowski mjankowski authored
View
14 README.md
@@ -24,9 +24,15 @@ Click on the "Default styles" link to view the same markup with a barebones layo
To upgrade, bump the gem version in your Gemfile, and then run 'rake flutie:install' again to get the latest changes moved into your application.
-If you are using rails 3.1 or greater with asset pipelining enabled, you don't need to run the installer. Simply add
- = require 'flutie'
-in the application stylesheet manifest (app/assets/stylesheets/application.css).
+If you are using rails 3.1 or greater with asset pipelining enabled, you don't need to run the installer. Simply add:
+
+ *= require _flutie
+
+in the application stylesheet manifest (app/assets/stylesheets/application.css), or:
+
+ @import 'flutie';
+
+as a sass import.
Usage
-----
@@ -81,7 +87,7 @@ Development
The actual stylesheet source files are sass, so edit the files in app/assets/stylesheets/.
To rebuild the static flutie.css file, you can run:
- sass --update app/assets/stylesheets/flutie.scss:public/stylesheets/flutie.css
+ sass --update app/assets/stylesheets/_flutie.scss:public/stylesheets/flutie.css
You can run a server which will allow you to view the flutie styleguide locally:
View
0  app/assets/stylesheets/flutie.scss → app/assets/stylesheets/_flutie.scss
File renamed without changes

0 comments on commit a43e7bb

Please sign in to comment.
Something went wrong with that request. Please try again.