blueprint-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +38 -0
- data/lib/blueprint-rails/railtie.rb +1 -4
- data/lib/blueprint-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/grid.css +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
# blueprint-rails
|
2
|
+
|
3
|
+
This gem provides `reset`, `typography`, `grid`, `forms`, `ie`, and `print`
|
4
|
+
stylesheets from Blueprint CSS framework version 1.0.1.
|
5
|
+
|
6
|
+
We don't include those files in default stylesheets load paths, because you
|
7
|
+
may want not to use some of them.
|
8
|
+
|
9
|
+
## Background grid
|
10
|
+
|
11
|
+
If you need `grid.png`, just use it in your stylesheets:
|
12
|
+
|
13
|
+
.showgrid { background:url('/assets/grid.png'); }
|
14
|
+
|
15
|
+
## Rails 3.1
|
16
|
+
|
17
|
+
To use it in your application, just include this gem in your Gemfile:
|
18
|
+
|
19
|
+
gem 'blueprint-rails'
|
20
|
+
|
21
|
+
And then, in your `app/assets/stylesheets/application.css`:
|
22
|
+
|
23
|
+
/* ...
|
24
|
+
*= require reset
|
25
|
+
*= require typography
|
26
|
+
*= require grid
|
27
|
+
* ...
|
28
|
+
*/
|
29
|
+
|
30
|
+
## Rails 3.0
|
31
|
+
|
32
|
+
I haven't had a chance to test it, yet.
|
33
|
+
|
34
|
+
## Uh... thank you's
|
35
|
+
|
36
|
+
This gem is just a quick attempt to extract those stylesheets from my
|
37
|
+
applications is a centralized location. So, most of the copyrigts go to Blueprint
|
38
|
+
and jquery-rails contributors (beer's on me). Thank you guys!
|
@@ -1,10 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# I would put blueprint in defaults, but you may want to use only a part of it
|
2
2
|
module Blueprint
|
3
3
|
module Rails
|
4
4
|
class Railtie < ::Rails::Railtie
|
5
|
-
config.before_configuration do
|
6
|
-
# config.action_view.javascript_expansions[:defaults] << %w(reset fonts grid)
|
7
|
-
end
|
8
5
|
end
|
9
6
|
end
|
10
7
|
end
|