compass-aurora 1.1.1 → 3.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
7
7
  Compass::Frameworks.register('aurora', :path => extension_path)
8
8
 
9
9
  module Aurora
10
- VERSION = "1.1.1"
11
- DATE = "2013-01-09"
10
+ VERSION = "3.0.0.alpha.1"
11
+ DATE = "2013-04-11"
12
12
  end
@@ -0,0 +1,4 @@
1
+ BEHAVIORS
2
+ ----------------------
3
+
4
+ Behaviors are IE specific files that allow for the mimicking of advanced functionality through usually JavaScript. They are bundled as .htc files. The Box Sizing behavior supplied is only needed for IE<=7
@@ -0,0 +1,5 @@
1
+ description "Box Sizing Polyfill Install"
2
+
3
+ file 'behaviors/box-sizing/boxsizing.htc'
4
+ file 'behaviors/box-sizing/boxsizing.php'
5
+ file 'README-behaviors.md', :to => 'behaviors/README.md'
@@ -35,15 +35,18 @@ file '../shared/README-Sass.md', :like => :stylesheet, :to => 'README.md'
35
35
  file '../shared/README-Partials.md', :like => :stylesheet, :to => 'partials/README.md'
36
36
  file '../shared/README-templates.md', :to => "tpl/README.md", :erb => true
37
37
 
38
- # JavaScript
39
- file '../shared/hammer.js', :like => :javascript, :to => 'hammer.js'
40
-
41
- # Git
42
- file '../shared/gitignore.txt', :to => ".gitignore", :erb => true
43
-
44
38
  # Template file folder
45
39
  file '../shared/README-templates.md', :to => "tpl/README.md", :erb => true
46
40
 
41
+ # Bower Awesomesauce
42
+ file '../shared/bowerrc.txt', :to => '.bowerrc'
43
+ file '../shared/component.json.erb', :to => 'component.json', :erb => true
44
+
45
+ # Developer Consistency
46
+ file '../shared/Gemfile.txt', :to => 'Gemfile'
47
+ file '../shared/editorconfig.txt', :to => '.editorconfig'
48
+ file '../shared/gitignore.txt', :to => ".gitignore"
49
+
47
50
  help %Q{
48
51
  Please contact Ian Carrico with questions:
49
52
 
@@ -51,8 +54,10 @@ help %Q{
51
54
  }
52
55
 
53
56
  welcome_message %Q{
57
+ Corona based Aurora Subtheme.
54
58
 
55
- Aurora Base Theme using Susy.
59
+ Please run `bundle install` from inside your new subtheme to isntall the required dependenecies. This will create a Gemfile.lock file, add this to your version control.
56
60
 
61
+ When you are ready start compiling, run `bundle exec compass watch` instead of simply `compass watch` to ensure you are compiling using your dependent Compass extensions.
57
62
  }
58
63
 
@@ -4,20 +4,25 @@
4
4
  // These files will be shared across all three of your output
5
5
  // CSS files. Generally included here are only Compass Extension
6
6
  // imports and imports for variables, functions, mixins, and extendables.
7
+ //
8
+ // Toolkit imports all of Compass, so there is no need to import it separately.
7
9
  ////////////////////////
8
10
 
9
- ////////////////////////
10
- // Compass Imports
11
+ //////////////////////////////
12
+ // CSS Resets
11
13
  //
12
- // Aurora includes @import 'compass' so you don't need to.
13
- ////////////////////////
14
+ // Choose your CSS Reset method:
15
+ // If you'd like a hard reset, uncomment `compass/reset`.
16
+ // If you'd prefer a soft reset, uncomment `compass-normalize`
17
+ //////////////////////////////
18
+ // @import 'compass/rest';
19
+ // @import 'compass-normalize';
14
20
 
15
21
  ////////////////////////
16
22
  // Compass Extensions
17
- //
18
- // Aurora includes Toolkit, Breakpoint, Respond-to, Sassy Buttons
19
23
  ////////////////////////
20
- @import 'aurora';
24
+ @import 'toolkit';
25
+ @import 'sassy-buttons';
21
26
 
22
27
  ////////////////////////
23
28
  // Private Imports
@@ -1,4 +1,4 @@
1
- description "Aurora Base Theme"
1
+ description "Aurora Sub Theme"
2
2
  no_configuration_file!
3
3
 
4
4
  # Add in custom config file.
@@ -7,8 +7,7 @@ file '../shared/config.rb.erb', :to => "config.rb", :erb => true
7
7
  # Add in README
8
8
  file '../shared/README-Sass.md', :like => :stylesheet, :to => 'README.md'
9
9
  file '../shared/README-Partials.md', :like => :stylesheet, :to => 'partials/README.md'
10
- file '../shared/README-templates.md', :to => "templates/README.md", :erb => true
11
-
10
+ file '../shared/README-templates.md', :to => "templates/README.md"
12
11
 
13
12
  # ERB ALL the Drupal files!
14
13
  file '../shared/aurora.info.erb', :to => "#{options[:project_name] || File.basename(Compass.configuration.project_path)}.info", :erb => true
@@ -25,18 +24,21 @@ file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mi
25
24
  file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
26
25
 
27
26
  file '../shared/_style-guide.scss', :like => :stylesheet, :to => 'partials/styleguide/_style-guide.scss'
28
- file '../shared/_print-style-guide.scss', :like => :stylesheet, :to => 'partials/styleguide/_print-style-guide.scss'
29
27
 
30
28
  file '../shared/_layout.scss', :like => :stylesheet, :to => 'partials/layout/_layout.scss'
31
- file '../shared/_print-layout.scss', :like => :stylesheet, :to => 'partials/layout/_print-layout.scss'
32
29
 
33
30
  file '../shared/_design.scss', :like => :stylesheet, :to => 'partials/design/_design.scss'
34
- file '../shared/_print-design.scss', :like => :stylesheet, :to => 'partials/design/_print-design.scss'
35
31
 
36
- file '../shared/_print.scss', :like => :stylesheet, :to => '_print.scss'
32
+ file '../shared/print.scss', :like => :stylesheet, :to => 'print.scss'
33
+
34
+ # Bower Awesomesauce
35
+ file '../shared/bowerrc.txt', :to => '.bowerrc'
36
+ file '../shared/component.json.erb', :to => 'component.json', :erb => true
37
37
 
38
- # JavaScript
39
- file '../shared/hammer.js', :like => :javascript, :to => 'hammer.js'
38
+ # Developer Consistency
39
+ file '../shared/Gemfile.txt', :to => 'Gemfile'
40
+ file '../shared/editorconfig.txt', :to => '.editorconfig'
41
+ file '../shared/gitignore.txt', :to => ".gitignore"
40
42
 
41
43
  help %Q{
42
44
  Please contact Sam Richard with questions:
@@ -45,8 +47,9 @@ help %Q{
45
47
  }
46
48
 
47
49
  welcome_message %Q{
50
+ Aurora Subtheme.
48
51
 
49
- Aurora Base Theme with no grid.
50
-
51
- }
52
+ Please run `bundle install` from inside your new subtheme to isntall the required dependenecies. This will create a Gemfile.lock file, add this to your version control.
52
53
 
54
+ When you are ready start compiling, run `bundle exec compass watch` instead of simply `compass watch` to ensure you are compiling using your dependent Compass extensions.
55
+ }
@@ -0,0 +1,12 @@
1
+ # Pull gems from RubyGems
2
+ source 'https://rubygems.org'
3
+
4
+ # ~> Refers to all versions of the given gem on the current full version number, so it will be able to use any version of Compass Aurora until Compass Aurora 4.x.x. For a specific version of a gem, remove the ~>
5
+ gem 'compass-aurora', '~>3.0.0'
6
+ gem 'toolkit', '~>1.0.0'
7
+ gem 'singularitygs', '~>1.0.7'
8
+ gem 'breakpoint', '~>2.0.2'
9
+ gem 'sassy-buttons', '~>0.1.4'
10
+ gem 'compass-normalize', '~>1.4.3'
11
+
12
+ # Now that you're using Bundler, you need to run `bundle exec compass watch` instead of simply `compass watch`.
@@ -6,13 +6,36 @@ variables, nested rules, math, mixins, etc. If your stylesheets are written in
6
6
  Sass, helper applications can convert them to standard CSS so that you can
7
7
  include the CSS in the normal ways with your theme.
8
8
 
9
- To learn more about Sass, visit: http://sass-lang.com
9
+ [Learn more about Sass](http://sass-lang.com)
10
10
 
11
11
  Compass is a helper library for Sass. It includes libraries of shared mixins, a
12
12
  package manager to add additional extension libraries, and an executable that
13
13
  can easily convert Sass files into CSS.
14
14
 
15
- To learn more about Compass, visit: http://compass-style.org
15
+ [Learn more about Compass](http://compass-style.org)
16
+
17
+ HANDLING DEPENDENCIES
18
+ ---------------------
19
+
20
+ Dependencies in Ruby are best handled by [Bundler](http://gembundler.com/). Bundler works by having you define a `Gemfile` of dependent gems and their version numbers, allowing you to ensure that the correct version of all of your gems are used. New Aurora subthemes come with a `Gemfile`, but if you do not have one already, you can create one yourself. Here is the contents of the `Gemfile` supplied by the current version of Aurora.
21
+
22
+ `# Pull gems from RubyGems
23
+ source 'https://rubygems.org'
24
+ # ~> Refers to all versions of the given gem on the current full version number, so it will be able to use any version of Compass Aurora until Compass Aurora 4.x.x. For a specific version of a gem, remove the ~>
25
+ gem 'compass-aurora', '~>3.0.0'
26
+ gem 'toolkit', '~>1.0.0'
27
+ gem 'singularitygs', '~>1.0.7'
28
+ gem 'breakpoint', '~>2.0.2'
29
+ gem 'sassy-buttons', '~>0.1.4'
30
+ gem 'compass-normalize', '~>1.4.3'`
31
+
32
+ These are the version numbers of these gems needed for Aurora 3.x. If you are using older versions of these gems, or require older versions of these gems, please change them to the versions you need. To see what versions of the gems you have installed, enter either `gem list` in the command line to see a list of all gems and their versions, or `gem list {name}` to see the list of versions for the named gem.
33
+
34
+ Once you have your `Gemfile` written, you need to install the gems so you can use them. To do so, in the command line, type the following:
35
+
36
+ `bundle install`
37
+
38
+ This will create a `Gemfile.lock` file with all relevant dependencies which should be committed into your version control.
16
39
 
17
40
 
18
41
  DEVELOPING WITH SASS AND COMPASS
@@ -23,16 +46,16 @@ development, you'll need to tell Compass to "watch" the sass directory so that
23
46
  any time a .scss file is changed it will automatically place a generated CSS
24
47
  file into your sub-theme's css directory:
25
48
 
26
- `compass watch <path to your sub-theme's directory>`
49
+ `bundle exec compass watch <path to your sub-theme's directory>`
27
50
 
28
- If you are already in the root of your sub-theme's directory, you can simply
29
- type: `compass watch`
51
+ If you are already in the root of your sub-theme's directory, you can simply
52
+ type: `bundle exec compass watch`
30
53
 
31
54
  While using generated CSS with your browser's inspectors, the line numbers it reports will be
32
55
  wrong since it will be showing the generated CSS file's line numbers and not the
33
56
  line numbers of the source Sass files. By default, Compass will output a comment with what line and what partial the CSS is comming from above the selector. This is useful if you're looking at your CSS file itself, but not as useful if you're trying to debug straight from your inspector. If you'd like to debug straight from your inspector, there are two options, one for Google Chrome and one for Firefox.
34
57
 
35
- If you are using Firefox, you can install the [FireSass](https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/) plug-in into Firefox. Then, edit your sub-theme's config.rb file so Firesass is true (`firesass = true`) and make sure that `sass_options = :debug_info => true` is enabled (in the example config.rb file, there's a check for whether you're on the development environment). If you are using Google Chrome (currently available in the Canary build, soon in the full version), make sure the Debug Info is enabled as well, go to `about://flags`, Enable Developer Tools experiments, restart Canary, open your inspector, click settings (the gear on the bottom right), open experiments, and check Support for Sass.
58
+ If you are using Firefox, you can install the [FireSass](https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/) plug-in into Firefox. Then, edit your sub-theme's config.rb file so Firesass is true (`firesass = true`) and make sure that `sass_options = :debug_info => true` is enabled (in the example config.rb file, there's a check for whether you're on the development environment). If you are using Google Chrome, make sure the Debug Info is enabled as well, go to `about://flags`, Enable Developer Tools experiments, restart Chrome, open your inspector, click settings (the gear on the bottom right), open experiments, and check Support for Sass.
36
59
 
37
60
 
38
61
  MOVING YOUR CSS TO PRODUCTION
@@ -1,3 +1,3 @@
1
1
  # Drupal Custom Template Folder
2
2
 
3
- Put any templates to override the Aurora templates in this folder.
3
+ Put any templates to override Aurora templates, Drupal Core templates, Drupal Contrib templates, or any custom templates in this folder.
@@ -0,0 +1,3 @@
1
+ {
2
+ "directory" : "components"
3
+ }
@@ -0,0 +1,9 @@
1
+ <% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>
2
+ {
3
+ "name": "<%= project_name%>",
4
+ "version": "1.0.0",
5
+ "dependencies": {
6
+ "formalize": "git://github.com/nathansmith/formalize"
7
+ },
8
+ "devDependencies": {}
9
+ }
@@ -0,0 +1,21 @@
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+
8
+ [*]
9
+
10
+ # Change these settings to your own preference
11
+ indent_style = space
12
+ indent_size = 2
13
+
14
+ # We recommend you to keep these unchanged
15
+ end_of_line = lf
16
+ charset = utf-8
17
+ trim_trailing_whitespace = true
18
+ insert_final_newline = true
19
+
20
+ [*.md]
21
+ trim_trailing_whitespace = false
File without changes
@@ -6,6 +6,15 @@
6
6
  // partials, plus the mixins required to kickstart Aura and Style Guide.
7
7
  ////////////////////////
8
8
 
9
+ //////////////////////////////
10
+ // Legacy Support Setup
11
+ //////////////////////////////
12
+ $legacy-support-for-ie6: false;
13
+ $legacy-support-for-ie7: false;
14
+ $legacy-support-for-ie8: true;
15
+
16
+ $legacy-support-for-mozilla: false;
17
+
9
18
  ////////////////////////
10
19
  // Base Import
11
20
  ////////////////////////
@@ -24,8 +33,4 @@
24
33
  ////////////////////////
25
34
  // Import Design
26
35
  ////////////////////////
27
- @import 'partials/design/design';
28
-
29
- @media print {
30
- @import "_print.scss";
31
- }
36
+ @import 'partials/design/design';
@@ -4,20 +4,26 @@
4
4
  // These files will be shared across all three of your output
5
5
  // CSS files. Generally included here are only Compass Extension
6
6
  // imports and imports for variables, functions, mixins, and extendables.
7
+ //
8
+ // Toolkit imports all of Compass, so there is no need to import it separately.
7
9
  ////////////////////////
8
10
 
9
- ////////////////////////
10
- // Compass Imports
11
+ //////////////////////////////
12
+ // CSS Resets
11
13
  //
12
- // Aurora includes @import 'compass' so you don't need to.
13
- ////////////////////////
14
+ // Choose your CSS Reset method:
15
+ // If you'd like a hard reset, uncomment `compass/reset`.
16
+ // If you'd prefer a soft reset, uncomment `compass-normalize`
17
+ //////////////////////////////
18
+ // @import 'compass/rest';
19
+ // @import 'compass-normalize';
14
20
 
15
21
  ////////////////////////
16
22
  // Compass Extensions
17
- //
18
- // Aurora includes Toolkit, Breakpoint, Respond-to, Sassy Buttons, and SingularityGS
19
23
  ////////////////////////
20
- @import 'aurora/singularity-grid';
24
+ @import 'singularitygs';
25
+ @import 'toolkit';
26
+ @import 'sassy-buttons';
21
27
 
22
28
  ////////////////////////
23
29
  // Private Imports
@@ -1,4 +1,4 @@
1
- description "Aurora Base Theme"
1
+ description "Aurora Sub Theme"
2
2
  no_configuration_file!
3
3
 
4
4
  # Add in custom config file.
@@ -7,7 +7,7 @@ file '../shared/config.rb.erb', :to => "config.rb", :erb => true
7
7
  # Add in README
8
8
  file '../shared/README-Sass.md', :like => :stylesheet, :to => 'README.md'
9
9
  file '../shared/README-Partials.md', :like => :stylesheet, :to => 'partials/README.md'
10
- file '../shared/README-templates.md', :to => "templates/README.md", :erb => true
10
+ file '../shared/README-templates.md', :to => "templates/README.md"
11
11
 
12
12
  # ERB ALL the Drupal files!
13
13
  file '../shared/aurora.info.erb', :to => "#{options[:project_name] || File.basename(Compass.configuration.project_path)}.info", :erb => true
@@ -24,22 +24,21 @@ file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mi
24
24
  file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
25
25
 
26
26
  file '../shared/_style-guide.scss', :like => :stylesheet, :to => 'partials/styleguide/_style-guide.scss'
27
- file '../shared/_print-style-guide.scss', :like => :stylesheet, :to => 'partials/styleguide/_print-style-guide.scss'
28
27
 
29
28
  file '../shared/_layout.scss', :like => :stylesheet, :to => 'partials/layout/_layout.scss'
30
- file '../shared/_print-layout.scss', :like => :stylesheet, :to => 'partials/layout/_print-layout.scss'
31
29
 
32
30
  file '../shared/_design.scss', :like => :stylesheet, :to => 'partials/design/_design.scss'
33
- file '../shared/_print-design.scss', :like => :stylesheet, :to => 'partials/design/_print-design.scss'
34
31
 
35
- file '../shared/_print.scss', :like => :stylesheet, :to => '_print.scss'
32
+ file '../shared/print.scss', :like => :stylesheet, :to => 'print.scss'
36
33
 
37
- # JavaScript
38
- file '../shared/hammer.js', :like => :javascript, :to => 'hammer.js'
34
+ # Bower Awesomesauce
35
+ file '../shared/bowerrc.txt', :to => '.bowerrc'
36
+ file '../shared/component.json.erb', :to => 'component.json', :erb => true
39
37
 
40
- # Behaviors
41
- file 'behaviors/box-sizing/boxsizing.htc'
42
- file 'behaviors/box-sizing/boxsizing.php'
38
+ # Developer Consistency
39
+ file '../shared/Gemfile.txt', :to => 'Gemfile'
40
+ file '../shared/editorconfig.txt', :to => '.editorconfig'
41
+ file '../shared/gitignore.txt', :to => ".gitignore"
43
42
 
44
43
  help %Q{
45
44
  Please contact Sam Richard with questions:
@@ -48,7 +47,9 @@ help %Q{
48
47
  }
49
48
 
50
49
  welcome_message %Q{
50
+ Singularity based Aurora Subtheme.
51
51
 
52
- Aurora Base Theme using Singularity.
52
+ Please run `bundle install` from inside your new subtheme to isntall the required dependenecies. This will create a Gemfile.lock file, add this to your version control.
53
53
 
54
+ When you are ready start compiling, run `bundle exec compass watch` instead of simply `compass watch` to ensure you are compiling using your dependent Compass extensions.
54
55
  }
metadata CHANGED
@@ -1,12 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-aurora
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
+ - 3
7
+ - 0
8
+ - 0
9
+ - alpha
6
10
  - 1
7
- - 1
8
- - 1
9
- version: 1.1.1
11
+ version: 3.0.0.alpha.1
10
12
  platform: ruby
11
13
  authors:
12
14
  - Sam Richard
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2013-01-09 00:00:00 -05:00
20
+ date: 2013-04-11 00:00:00 -04:00
19
21
  default_executable:
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency
@@ -41,9 +43,9 @@ dependencies:
41
43
  - !ruby/object:Gem::Version
42
44
  segments:
43
45
  - 0
44
- - 1
45
- - 17
46
- version: 0.1.17
46
+ - 3
47
+ - 0
48
+ version: 0.3.0
47
49
  type: :runtime
48
50
  version_requirements: *id002
49
51
  - !ruby/object:Gem::Dependency
@@ -56,8 +58,8 @@ dependencies:
56
58
  segments:
57
59
  - 0
58
60
  - 1
59
- - 1
60
- version: 0.1.1
61
+ - 4
62
+ version: 0.1.4
61
63
  type: :runtime
62
64
  version_requirements: *id003
63
65
  - !ruby/object:Gem::Dependency
@@ -70,10 +72,24 @@ dependencies:
70
72
  segments:
71
73
  - 1
72
74
  - 4
73
- - 1
74
- version: 1.4.1
75
+ - 3
76
+ version: 1.4.3
75
77
  type: :runtime
76
78
  version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ name: bundler
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 1
88
+ - 3
89
+ - 5
90
+ version: 1.3.5
91
+ type: :runtime
92
+ version_requirements: *id005
77
93
  description: Aurora Subthemes!
78
94
  email:
79
95
  - snugug@gmail.com
@@ -89,6 +105,10 @@ files:
89
105
  - stylesheets/_aurora.scss
90
106
  - stylesheets/aurora/_singularity-grid.scss
91
107
  - stylesheets/aurora/_susy-grid.scss
108
+ - templates/box-sizing/behaviors/box-sizing/boxsizing.htc
109
+ - templates/box-sizing/behaviors/box-sizing/boxsizing.php
110
+ - templates/box-sizing/manifest.rb
111
+ - templates/box-sizing/README-behaviors.md
92
112
  - templates/corona/_base.scss
93
113
  - templates/corona/_defaults.scss
94
114
  - templates/corona/_design.scss
@@ -108,27 +128,23 @@ files:
108
128
  - templates/shared/_functions.scss
109
129
  - templates/shared/_layout.scss
110
130
  - templates/shared/_mixins.scss
111
- - templates/shared/_print-design.scss
112
- - templates/shared/_print-layout.scss
113
- - templates/shared/_print-style-guide.scss
114
- - templates/shared/_print.scss
115
131
  - templates/shared/_style-guide.scss
116
132
  - templates/shared/_variables.scss
117
133
  - templates/shared/aurora.info.erb
134
+ - templates/shared/bowerrc.txt
135
+ - templates/shared/component.json.erb
118
136
  - templates/shared/config.rb.erb
137
+ - templates/shared/editorconfig.txt
138
+ - templates/shared/Gemfile.txt
119
139
  - templates/shared/gitignore.txt
120
- - templates/shared/hammer.js
140
+ - templates/shared/print.scss
121
141
  - templates/shared/README-Partials.md
122
142
  - templates/shared/README-Sass.md
123
143
  - templates/shared/README-templates.md
124
144
  - templates/shared/style.scss
125
145
  - templates/shared/template.php.erb
126
146
  - templates/singularity/_base.scss
127
- - templates/singularity/behaviors/box-sizing/boxsizing.htc
128
- - templates/singularity/behaviors/box-sizing/boxsizing.php
129
147
  - templates/singularity/manifest.rb
130
- - templates/susy/_base.scss
131
- - templates/susy/manifest.rb
132
148
  has_rdoc: true
133
149
  homepage: http://drupal.org/project/aurora
134
150
  licenses: []