cssensible 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +10 -0
- data/README.md +14 -7
- data/Rakefile +0 -2
- data/lib/cssensible/runner.rb +1 -1
- data/lib/cssensible/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.2.1 (July 17th, 2010)
|
4
|
+
|
5
|
+
* fixed bug that made everything explode once --line-height was used
|
6
|
+
|
7
|
+
|
8
|
+
## 0.2.0 (July 13th, 2010)
|
9
|
+
|
10
|
+
* refactored into gem
|
11
|
+
|
12
|
+
|
3
13
|
## 0.2 (July 8th, 2010)
|
4
14
|
|
5
15
|
* command line interface actually usable
|
data/README.md
CHANGED
@@ -3,30 +3,37 @@
|
|
3
3
|
CSSensible finds sensible default values for `font-size` and `line-height` by identifying available vertical grids.
|
4
4
|
|
5
5
|
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
You can install through a gem.
|
9
|
+
|
10
|
+
$ gem install cssensible
|
11
|
+
|
12
|
+
|
6
13
|
## Usage
|
7
14
|
|
8
15
|
You can find sensible vertical grids for one or several font-sizes.
|
9
16
|
|
10
|
-
$
|
17
|
+
$ cssensible [options] font-size [font-size font-size ...]
|
11
18
|
|
12
19
|
Options:
|
13
20
|
|
14
|
-
|
15
|
-
-h, --help
|
16
|
-
--version
|
21
|
+
-l, --line-height [EM] Minimum em-value all line-heights should have
|
22
|
+
-h, --help Shop help
|
23
|
+
--version Show version
|
17
24
|
|
18
25
|
|
19
26
|
## Examples
|
20
27
|
|
21
28
|
# finds sensible grids including a font-size of 12px
|
22
|
-
$
|
29
|
+
$ cssensible 12
|
23
30
|
|
24
31
|
# finds sensible grids including both 12px and 16px
|
25
|
-
$
|
32
|
+
$ cssensible 12 16
|
26
33
|
|
27
34
|
# finds sensible grids including both 12px and 16px where the resulting
|
28
35
|
# line-height for every font-size is at least 1.3em
|
29
|
-
$
|
36
|
+
$ cssensible --line-height 1.3 12 16
|
30
37
|
|
31
38
|
|
32
39
|
## Documentation
|
data/Rakefile
CHANGED
data/lib/cssensible/runner.rb
CHANGED
data/lib/cssensible/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cssensible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dominik Habersack
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-17 00:00:00 +12:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|