compass-moext 3.0.0 → 3.1.0

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/README.md CHANGED
@@ -0,0 +1,7 @@
1
+ Moext is a Compass Extension meant to provide a structure
2
+ for responsibly scoped modules and widgets. It provides
3
+ a basic starter CSS file, a fluid grid, and utility classes
4
+ that can be defined by the user.
5
+
6
+ Please refer to the [wiki](https://github.com/ethangardner/compass-moext/wiki) for
7
+ more information and documentation on its use.
@@ -3,9 +3,9 @@ $app-ns-prefix: ns-prefix($app-ns) !default;
3
3
 
4
4
  //: Typography
5
5
  $fonts: (
6
- "heading": '"Franklin Gothic Medium", Tahoma, "Helvetica Neue", Arial, sans-serif',
7
- "content": 'cambria, georgia, "Times New Roman", Times, serif',
8
- "code": 'consolas, "lucida console", "courier new", monospace',
6
+ "heading": unquote('"Franklin Gothic Medium", Tahoma, "Helvetica Neue", Arial, sans-serif'),
7
+ "content": unquote('cambria, georgia, "Times New Roman", Times, serif'),
8
+ "code": unquote('consolas, "lucida console", "courier new", monospace'),
9
9
  "size": 18px,
10
10
  "line-height": 1.3889
11
11
  ) !default;
@@ -28,10 +28,11 @@ $colors: map-merge($colors, (
28
28
  ) !default;
29
29
 
30
30
  $dimensions: (
31
- "box-spacing": 10px,
31
+ "box-spacing": 10px
32
32
  ) !default;
33
33
 
34
34
  $breakpoints: (
35
+ "xl": 1280px,
35
36
  "large": 970px,
36
37
  "medium": 800px,
37
38
  "small": 460px
@@ -1 +1,8 @@
1
- $app-ns: "";
1
+ // Define the rest of the config options here. Remember to change
2
+ // the $app-ns var that is set in the _namespace.scss file before
3
+ // getting started.
4
+ //
5
+ // This file is provided so you can extend or override
6
+ // the defaults provided by compass-moext. PLease refer to the
7
+ // wiki for more information: https://github.com/ethangardner/compass-moext/wiki
8
+
@@ -0,0 +1 @@
1
+ $app-ns: "changeme";
@@ -1,16 +1,26 @@
1
- // Import base settings
2
- @import "base";
3
-
4
- ##{$app-ns} {
5
- @import "reset";
6
- }
7
1
 
8
2
  // Provide access to Compass and Momentum features
9
3
  @import "compass/css3";
10
4
  @import "compass";
11
- @import "moext";
5
+
6
+ // Import momentum defaults and helpers
7
+ @import 'moext/helpers/units';
8
+ @import 'moext/helpers/string';
9
+
10
+ // Define application namespace
11
+ @import "namespace";
12
+
13
+ // Override momentum defaults
14
+ @import 'moext/base';
15
+ @import "base";
16
+
17
+ // finally, import the utilities and grid functions to
18
+ // in the correct order to make use of the user-defined namespaces.
19
+ @import 'moext/utils';
20
+ @import 'moext/grid';
12
21
 
13
22
  ##{$app-ns} {
23
+ @import "reset";
14
24
  @import "styles";
15
25
  @import "moext/print";
16
26
  }
@@ -3,11 +3,12 @@ description "Momentum Compass Extension - a microlibrary for responsibly scoped
3
3
  # Make sure you list all the project template files here in the manifest.
4
4
  stylesheet "_base.scss", :media => "all"
5
5
  stylesheet "_reset.scss", :media => "all"
6
+ stylesheet "_namespace.scss", :media => "all"
6
7
  stylesheet "_styles.scss", :media => "all"
7
8
  stylesheet "all.scss", :media => "all"
8
9
  javascript "app.js"
9
10
 
10
11
  welcome_message %Q{
11
- Update the application namespace variable, $app-ns in _base.scss
12
+ Update the application namespace variable, $app-ns in _namespace.scss
12
13
  to get started.
13
14
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-moext
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-28 00:00:00.000000000 Z
12
+ date: 2015-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
@@ -27,7 +27,24 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.0.1
30
- description: Provides basic grid functions and structure for variable reuse
30
+ - !ruby/object:Gem::Dependency
31
+ name: sass
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 3.3.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 3.3.0
46
+ description: A Compass extension with basic grid functions and utility classes. Perhaps
47
+ more importantly, it provides conventions for application CSS structure
31
48
  email: edgincvg@gmail.com
32
49
  executables: []
33
50
  extensions: []
@@ -47,6 +64,7 @@ files:
47
64
  - templates/project/config.rb
48
65
  - templates/project/manifest.rb
49
66
  - templates/project/_base.scss
67
+ - templates/project/_namespace.scss
50
68
  - templates/project/_reset.scss
51
69
  - templates/project/_styles.scss
52
70
  homepage: https://github.com/ethangardner/compass-moext
@@ -69,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
87
  version: '0'
70
88
  requirements: []
71
89
  rubyforge_project:
72
- rubygems_version: 1.8.28
90
+ rubygems_version: 1.8.24
73
91
  signing_key:
74
92
  specification_version: 3
75
93
  summary: A micro library for Compass and SASS for building responsibly scoped applications