mm-compass-templates 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- First install the `mm-compass-templates` gem.
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 in an existing project. Check if framework is available with:
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 the extension with:
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.0
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.0"
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}
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
- ".gitignore",
18
+ "README.md",
16
19
  "Rakefile",
17
20
  "VERSION",
18
21
  "lib/mm-compass-templates.rb",
19
22
  "mm-compass-templates.gemspec",
20
- "stylesheets/_mm-compass-templates.sass",
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"
@@ -0,0 +1,10 @@
1
+ // ------------ //
2
+ // Font metrics //
3
+ // ------------ //
4
+
5
+ =line-height($line-height, $font-size)
6
+ line-height: $line-height / $font-size
7
+
8
+ =font-metrics($font-size, $line-height)
9
+ font-size: $font-size
10
+ +line-height($line-height, $font-size)
@@ -0,0 +1,5 @@
1
+ $font-size: 12px
2
+ $line-height: 18px
3
+
4
+ =font-family
5
+ font-family: Verdana, sans-serif
@@ -1,19 +1,4 @@
1
- $font-size: 12px
2
- $line-height: 18px
1
+ // Define your typographic styles for the basic elements
3
2
 
4
- =default-font-family
5
- font-family: Verdana, sans-serif
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 collection of templates and patterns used by mindmatters."
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
- // @import "compass/reset"
18
+ // Imports from `mm-compass-templates` framework
19
19
 
20
- // Own constants and mixins
20
+ // @import "mm/typography"
21
21
 
22
- // @import "modules/boxes.lib"
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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-12 00:00:00 +02:00
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
- - .gitignore
31
+ - README.md
32
32
  - Rakefile
33
33
  - VERSION
34
34
  - lib/mm-compass-templates.rb
35
35
  - mm-compass-templates.gemspec
36
- - stylesheets/_mm-compass-templates.sass
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.