mm-compass-templates 0.1.0 → 0.1.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/{templates/project/README.md → README.md} +10 -6
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/mm-compass-templates.gemspec +9 -6
- data/stylesheets/mm/_typography.sass +10 -0
- data/templates/project/look/{_colors.sass → _colors.lib.sass} +0 -0
- data/templates/project/look/_typography.lib.sass +5 -0
- data/templates/project/look/_typography.sass +3 -18
- data/templates/project/manifest.rb +3 -4
- data/templates/project/screen.sass +10 -4
- metadata +10 -10
- data/.gitignore +0 -1
- data/stylesheets/_mm-compass-templates.sass +0 -1
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
A collection of compass templates and patterns used by mindmatters
|
|
2
2
|
==================================================================
|
|
3
3
|
|
|
4
|
+
Template list
|
|
5
|
+
-------------
|
|
6
|
+
|
|
7
|
+
* `project`
|
|
8
|
+
A basic project setup template for stylesheets.
|
|
9
|
+
|
|
4
10
|
Installation
|
|
5
11
|
------------
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Install the gem and then install the basic project pattern with:
|
|
13
|
+
Install the `mm-compass-templates` gem. To install the template named `project` execute:
|
|
10
14
|
|
|
11
15
|
compass install mm-compass-templates/project --require mm-compass-templates --syntax sass
|
|
12
16
|
|
|
13
|
-
Or add a `require 'mm-compass-templates'` to the `config.rb` file
|
|
17
|
+
Or, in an existing project, add a `require 'mm-compass-templates'` to the `config.rb` file. Check if the framework is available with:
|
|
14
18
|
|
|
15
19
|
compass help
|
|
16
20
|
|
|
17
|
-
Then install with:
|
|
21
|
+
Then install the `project` template with:
|
|
18
22
|
|
|
19
23
|
compass install mm-compass-templates/project --syntax sass
|
|
20
24
|
|
|
@@ -30,7 +34,7 @@ available with:
|
|
|
30
34
|
|
|
31
35
|
compass frameworks
|
|
32
36
|
|
|
33
|
-
You can now install
|
|
37
|
+
You can now test-install a template (e.g. `project`) with:
|
|
34
38
|
|
|
35
39
|
compass install mm-compass-templates/project --syntax sass
|
|
36
40
|
|
data/Rakefile
CHANGED
|
@@ -7,6 +7,7 @@ begin
|
|
|
7
7
|
gemspec.homepage = "http://mindmatters.de"
|
|
8
8
|
gemspec.authors = ["Tobias Adam"]
|
|
9
9
|
gemspec.files.include %w(stylesheets/**/* templates/**/*)
|
|
10
|
+
gemspec.files.exclude '.gitignore'
|
|
10
11
|
end
|
|
11
12
|
rescue LoadError
|
|
12
13
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -5,23 +5,26 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{mm-compass-templates}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Tobias Adam"]
|
|
12
|
-
s.date = %q{2010-07-
|
|
12
|
+
s.date = %q{2010-07-23}
|
|
13
13
|
s.email = %q{tobias.adam@mindmatters.de}
|
|
14
|
+
s.extra_rdoc_files = [
|
|
15
|
+
"README.md"
|
|
16
|
+
]
|
|
14
17
|
s.files = [
|
|
15
|
-
".
|
|
18
|
+
"README.md",
|
|
16
19
|
"Rakefile",
|
|
17
20
|
"VERSION",
|
|
18
21
|
"lib/mm-compass-templates.rb",
|
|
19
22
|
"mm-compass-templates.gemspec",
|
|
20
|
-
"stylesheets/
|
|
21
|
-
"templates/project/README.md",
|
|
23
|
+
"stylesheets/mm/_typography.sass",
|
|
22
24
|
"templates/project/layout/_grid.sass",
|
|
23
25
|
"templates/project/layout/_layout_elements.sass",
|
|
24
|
-
"templates/project/look/_colors.sass",
|
|
26
|
+
"templates/project/look/_colors.lib.sass",
|
|
27
|
+
"templates/project/look/_typography.lib.sass",
|
|
25
28
|
"templates/project/look/_typography.sass",
|
|
26
29
|
"templates/project/manifest.rb",
|
|
27
30
|
"templates/project/screen.sass"
|
|
File without changes
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
$line-height: 18px
|
|
1
|
+
// Define your typographic styles for the basic elements
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// ------------ //
|
|
8
|
-
// Font metrics //
|
|
9
|
-
// ------------ //
|
|
10
|
-
|
|
11
|
-
=line-height($line-height, $font-size)
|
|
12
|
-
line-height: $line-height / $font-size
|
|
13
|
-
|
|
14
|
-
=font-size-and-line-height($font-size, $line-height)
|
|
15
|
-
font-size: $font-size
|
|
16
|
-
+line-height($line-height, $font-size)
|
|
17
|
-
|
|
18
|
-
=font-metrics
|
|
19
|
-
+font-size-and-line-height($font-size, $line-height)
|
|
3
|
+
// body
|
|
4
|
+
// +font-metrics($font-size, $line-height)
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
description "A
|
|
1
|
+
description "A basic project setup template for stylesheets."
|
|
2
2
|
|
|
3
3
|
stylesheet "screen.sass", :media => "screen, projection"
|
|
4
|
-
stylesheet "look/_colors.sass"
|
|
4
|
+
stylesheet "look/_colors.lib.sass"
|
|
5
|
+
stylesheet "look/_typography.lib.sass"
|
|
5
6
|
stylesheet "look/_typography.sass"
|
|
6
7
|
stylesheet "layout/_grid.sass"
|
|
7
8
|
stylesheet "layout/_layout_elements.sass"
|
|
8
9
|
|
|
9
|
-
file "README.md"
|
|
10
|
-
|
|
11
10
|
help %Q{
|
|
12
11
|
Don’t know where this is shown… Edit me if you find me!
|
|
13
12
|
}
|
|
@@ -15,11 +15,15 @@
|
|
|
15
15
|
// @import "compass/utilities/lists"
|
|
16
16
|
// @import "compass/utilities/text/replacement"
|
|
17
17
|
|
|
18
|
-
//
|
|
18
|
+
// Imports from `mm-compass-templates` framework
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// @import "mm/typography"
|
|
21
21
|
|
|
22
|
-
//
|
|
22
|
+
// ----- //
|
|
23
|
+
// Reset //
|
|
24
|
+
// ----- //
|
|
25
|
+
|
|
26
|
+
// @import "compass/reset"
|
|
23
27
|
|
|
24
28
|
// ------------------- //
|
|
25
29
|
// Default Look & Feel //
|
|
@@ -27,7 +31,8 @@
|
|
|
27
31
|
|
|
28
32
|
// Logo, colors, typography, forms, images, iconography, controls, buttons, helpers
|
|
29
33
|
|
|
30
|
-
@import "look/colors"
|
|
34
|
+
@import "look/colors.lib"
|
|
35
|
+
@import "look/typography.lib"
|
|
31
36
|
@import "look/typography"
|
|
32
37
|
|
|
33
38
|
// -------------------- //
|
|
@@ -43,6 +48,7 @@
|
|
|
43
48
|
// Widgets, Modules and Components //
|
|
44
49
|
// ------------------------------- //
|
|
45
50
|
|
|
51
|
+
// @import "modules/boxes.lib"
|
|
46
52
|
// @import "modules/boxes"
|
|
47
53
|
|
|
48
54
|
// -------------------- //
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mm-compass-templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tobias Adam
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-07-
|
|
18
|
+
date: 2010-07-23 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|
|
@@ -25,19 +25,19 @@ executables: []
|
|
|
25
25
|
|
|
26
26
|
extensions: []
|
|
27
27
|
|
|
28
|
-
extra_rdoc_files:
|
|
29
|
-
|
|
28
|
+
extra_rdoc_files:
|
|
29
|
+
- README.md
|
|
30
30
|
files:
|
|
31
|
-
- .
|
|
31
|
+
- README.md
|
|
32
32
|
- Rakefile
|
|
33
33
|
- VERSION
|
|
34
34
|
- lib/mm-compass-templates.rb
|
|
35
35
|
- mm-compass-templates.gemspec
|
|
36
|
-
- stylesheets/
|
|
37
|
-
- templates/project/README.md
|
|
36
|
+
- stylesheets/mm/_typography.sass
|
|
38
37
|
- templates/project/layout/_grid.sass
|
|
39
38
|
- templates/project/layout/_layout_elements.sass
|
|
40
|
-
- templates/project/look/_colors.sass
|
|
39
|
+
- templates/project/look/_colors.lib.sass
|
|
40
|
+
- templates/project/look/_typography.lib.sass
|
|
41
41
|
- templates/project/look/_typography.sass
|
|
42
42
|
- templates/project/manifest.rb
|
|
43
43
|
- templates/project/screen.sass
|
data/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pkg/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// This is your framework's main stylesheet. Use it to import all default modules.
|