font-kit-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,3 +1,55 @@
1
- = Font Kit Rails - Awesome font kit for your rails app
1
+ ## Font Kit Rails - Awesome font kit for your rails app
2
2
 
3
- This project rocks and uses MIT-LICENSE.
3
+ This project rocks and uses MIT-LICENSE.
4
+
5
+ Add the following line to your `Gemfile` and run `bundle install`:
6
+
7
+ ```
8
+ gem 'font-kit-rails'
9
+ ```
10
+
11
+ Include font-kit-rails css file (all fonts) in your application.css:
12
+
13
+ ```
14
+ *= require font-kit-rails
15
+ ```
16
+
17
+ To load a speficific font:
18
+
19
+ ```
20
+ *= require font-kit-rails/ubuntu
21
+ ```
22
+
23
+ ## Fonts
24
+
25
+ ### Open Sans
26
+
27
+ ```
28
+ font-family: 'Open Sans'
29
+
30
+ 300
31
+ 300|italic
32
+ normal
33
+ normal|italic
34
+ 600
35
+ 600|italic
36
+ bold
37
+ bold|italic
38
+ 900
39
+ 900|italic
40
+ ```
41
+
42
+ ### Ubuntu
43
+
44
+ ```
45
+ font-family: 'Ubuntu'
46
+
47
+ 300
48
+ 300:italic
49
+ normal
50
+ normal|italic
51
+ 600
52
+ 600|italic
53
+ bold
54
+ bold|italic
55
+ ```
@@ -1,5 +1,5 @@
1
1
  @font-face {
2
- font-family: 'OpenSans';
2
+ font-family: 'Open Sans';
3
3
  src: url('../open-sans/OpenSans-Light-webfont.eot');
4
4
  src: url('../open-sans/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
5
5
  url('../open-sans/OpenSans-Light-webfont.woff') format('woff'),
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  @font-face {
13
- font-family: 'OpenSans';
13
+ font-family: 'Open Sans';
14
14
  src: url('../open-sans/OpenSans-LightItalic-webfont.eot');
15
15
  src: url('../open-sans/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
16
16
  url('../open-sans/OpenSans-LightItalic-webfont.woff') format('woff'),
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  @font-face {
24
- font-family: 'OpenSans';
24
+ font-family: 'Open Sans';
25
25
  src: url('../open-sans/OpenSans-Regular-webfont.eot');
26
26
  src: url('../open-sans/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
27
27
  url('../open-sans/OpenSans-Regular-webfont.woff') format('woff'),
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  @font-face {
35
- font-family: 'OpenSans';
35
+ font-family: 'Open Sans';
36
36
  src: url('../open-sans/OpenSans-Italic-webfont.eot');
37
37
  src: url('../open-sans/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
38
38
  url('../open-sans/OpenSans-Italic-webfont.woff') format('woff'),
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  @font-face {
46
- font-family: 'OpenSans';
46
+ font-family: 'Open Sans';
47
47
  src: url('../open-sans/OpenSans-Semibold-webfont.eot');
48
48
  src: url('../open-sans/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
49
49
  url('../open-sans/OpenSans-Semibold-webfont.woff') format('woff'),
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  @font-face {
57
- font-family: 'OpenSans';
57
+ font-family: 'Open Sans';
58
58
  src: url('../open-sans/OpenSans-SemiboldItalic-webfont.eot');
59
59
  src: url('../open-sans/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
60
60
  url('../open-sans/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  @font-face {
68
- font-family: 'OpenSans';
68
+ font-family: 'Open Sans';
69
69
  src: url('../open-sans/OpenSans-Bold-webfont.eot');
70
70
  src: url('../open-sans/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
71
71
  url('../open-sans/OpenSans-Bold-webfont.woff') format('woff'),
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  @font-face {
79
- font-family: 'OpenSans';
79
+ font-family: 'Open Sans';
80
80
  src: url('../open-sans/OpenSans-BoldItalic-webfont.eot');
81
81
  src: url('../open-sans/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
82
82
  url('../open-sans/OpenSans-BoldItalic-webfont.woff') format('woff'),
@@ -87,7 +87,7 @@
87
87
  }
88
88
 
89
89
  @font-face {
90
- font-family: 'OpenSans';
90
+ font-family: 'Open Sans';
91
91
  src: url('../open-sans/OpenSans-ExtraBold-webfont.eot');
92
92
  src: url('../open-sans/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
93
93
  url('../open-sans/OpenSans-ExtraBold-webfont.woff') format('woff'),
@@ -98,7 +98,7 @@
98
98
  }
99
99
 
100
100
  @font-face {
101
- font-family: 'OpenSans';
101
+ font-family: 'Open Sans';
102
102
  src: url('../open-sans/OpenSans-ExtraBoldItalic-webfont.eot');
103
103
  src: url('../open-sans/OpenSans-ExtraBoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
104
104
  url('../open-sans/OpenSans-ExtraBoldItalic-webfont.woff') format('woff'),
@@ -1,3 +1,3 @@
1
1
  module FontKitRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-kit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: 3705322169972168233
136
+ hash: 2611592082949707998
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: 3705322169972168233
145
+ hash: 2611592082949707998
146
146
  requirements: []
147
147
  rubyforge_project:
148
148
  rubygems_version: 1.8.24