compass-aurora 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ ////////////////////////
2
+ // Print File
3
+ //
4
+ // This file gets turned into style.css. This file should really
5
+ // hold nothing except for imports of your base, layout, and design
6
+ // partials, plus the mixins required to kickstart Aura and Style Guide.
7
+ // This file is styles specific to Printed files.
8
+ ////////////////////////
9
+
10
+ ////////////////////////
11
+ // Base Import
12
+ ////////////////////////
13
+ @import 'partials/global/base';
14
+
15
+ ////////////////////////
16
+ // Import Style Guide
17
+ ////////////////////////
18
+ @import 'partials/styleguide/style-guide';
19
+
20
+ ////////////////////////
21
+ // Import Layout
22
+ ////////////////////////
23
+ @import 'partials/layout/print-layout';
24
+
25
+ ////////////////////////
26
+ // Import Design
27
+ ////////////////////////
28
+ @import 'partials/design/print-design';
@@ -0,0 +1,27 @@
1
+ ////////////////////////
2
+ // Style File
3
+ //
4
+ // This file gets turned into style.css. This file should really
5
+ // hold nothing except for imports of your base, layout, and design
6
+ // partials, plus the mixins required to kickstart Aura and Style Guide.
7
+ ////////////////////////
8
+
9
+ ////////////////////////
10
+ // Base Import
11
+ ////////////////////////
12
+ @import 'partials/global/base';
13
+
14
+ ////////////////////////
15
+ // Import Style Guide
16
+ ////////////////////////
17
+ @import 'partials/styleguide/style-guide';
18
+
19
+ ////////////////////////
20
+ // Import Layout
21
+ ////////////////////////
22
+ @import 'partials/layout/layout';
23
+
24
+ ////////////////////////
25
+ // Import Design
26
+ ////////////////////////
27
+ @import 'partials/design/design';
@@ -0,0 +1,11 @@
1
+ <% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %><?php
2
+ /**
3
+ * Implements hook_preprocess_html()
4
+ */
5
+ function <%= project_name %>_preprocess_html(&$vars) {
6
+ // Be sure replace this with a custom Modernizr build!
7
+ drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/<%= project_js %>/modernizr-2.5.3.js', array('force header' => true));
8
+
9
+ // yep/nope for conditional JS loading!
10
+ drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/<%= project_js %>/loader.js');
11
+ }
@@ -0,0 +1,28 @@
1
+ ////////////////////////
2
+ // Base Partials
3
+ //
4
+ // These files will be shared across all three of your output
5
+ // CSS files. Generally included here are only Compass Extension
6
+ // imports and imports for variables, functions, mixins, and extendables.
7
+ ////////////////////////
8
+
9
+ ////////////////////////
10
+ // Compass Imports
11
+ //
12
+ // Aurora includes @import 'compass' so you don't need to.
13
+ ////////////////////////
14
+
15
+ ////////////////////////
16
+ // Compass Extensions
17
+ //
18
+ // Aurora includes Toolkit, Breakpoint, Respond-to, Sassy Buttons, and SingularityGS
19
+ ////////////////////////
20
+ @import 'aurora-singularitygs';
21
+
22
+ ////////////////////////
23
+ // Private Imports
24
+ ////////////////////////
25
+ @import 'variables';
26
+ @import 'functions';
27
+ @import 'mixins';
28
+ @import 'extendables';
@@ -0,0 +1,73 @@
1
+ description "Aurora Base Theme"
2
+
3
+ # ERB ALL the Drupal files!
4
+ file '../shared/aurora.info.erb', :to => "#{options[:project_name] || File.basename(Compass.configuration.project_path)}.info", :erb => true
5
+
6
+ file '../shared/template.php.erb', :to => "template.php", :erb => true
7
+
8
+ # Stylesheets
9
+ file '../shared/style.scss', :like => :stylesheet, :media => 'screen, projection', :to => 'style.scss'
10
+
11
+ file '_base.scss', :like => :stylesheet, :to => 'partials/global/_base.scss'
12
+ file '../shared/_variables.scss', :like => :stylesheet, :to => 'partials/global/_variables.scss'
13
+ file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/global/_functions.scss'
14
+ file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mixins.scss'
15
+ file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
16
+
17
+ file '../shared/_style-guide.scss', :like => :stylesheet, :to => 'partials/styleguide/_style-guide.scss'
18
+
19
+ file '../shared/_layout.scss', :like => :stylesheet, :to => 'partials/layout/_layout.scss'
20
+ file '../shared/_ie-layout.scss', :like => :stylesheet, :to => 'partials/layout/_ie-layout.scss'
21
+ file '../shared/_print-layout.scss', :like => :stylesheet, :to => 'partials/layout/_print-layout.scss'
22
+
23
+ file '../shared/_design.scss', :like => :stylesheet, :to => 'partials/design/_design.scss'
24
+ file '../shared/_ie-design.scss', :like => :stylesheet, :to => 'partials/design/_ie-design.scss'
25
+ file '../shared/_print-design.scss', :like => :stylesheet, :to => 'partials/design/_print-design.scss'
26
+
27
+ file '../shared/print.scss', :like => :stylesheet, :media => 'print', :to => 'print.scss'
28
+ file '../shared/ie.scss', :like => :stylesheet, :media => 'screen, projection', :condition => "lt IE 8", :to => 'ie.scss'
29
+
30
+ # JavaScript
31
+ file '../shared/hammer.js', :like => :javascript, :to => 'hammer.js'
32
+ file '../shared/loader.js', :like => :javascript, :to => 'loader.js'
33
+ file '../shared/modernizr-2.5.3.js', :like => :javascript, :to => 'modernizr-2.5.3.js'
34
+
35
+ help %Q{
36
+ Please contact Sam Richard with questions:
37
+
38
+ sam@snug.ug
39
+ }
40
+
41
+ welcome_message %Q{
42
+
43
+ Aurora Base Theme
44
+
45
+ Welcome to the Aurora Base Theme gem! Provided are the basic tools needed to kickstart a custom Responsive Web Design solution tailor made to your needs! Remember, tools and best practices are always changing, so keep up to date!
46
+
47
+ The following is included in this build:
48
+ Compass Extensions:
49
+ * Singularity
50
+ * Toolkit
51
+ * Respond-to
52
+
53
+ JavaScript:
54
+ * Modernizr Custom Build with all Standard features of 2.3.5 except html5shiv w/printshiv or Media Queries. Build your own from http://modernizr.com/download/ when you are ready for production
55
+ * Loader.js custom JavaScript file for holding conditional asset loading scripts thanks to Modernizr's yepnope (http://yepnopejs.com/). Comes with yepnope code for loading in Hammer.js, just make sure the path is correct from root.. Ready for production, but remember to minify and gzip!
56
+ * Hammer.js (http://eightmedia.github.com/hammer.js/) for awesome touch events. Ready for production, but remember to minify and gzip!
57
+
58
+ Include the following in your <head> tag:
59
+
60
+ <meta content='width=device-width, initial-scale=1.0' name='viewport' />
61
+ <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
62
+ <!--[if lt IE 9 ]> <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script><script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script> <![endif]-->
63
+ <!-- CSS -->
64
+ <link href='path/to/css/style.css?v=1' rel='stylesheet' />
65
+ <!-- All JavaScript at the bottom, except for Modernizr and Respond/Selectivizr for IE 8 and Below. -->
66
+ <script src='path/to/js/modernizr-2.5.3.js'></script>
67
+
68
+ Include the following, and all other JavaScript, including any JavaScript frameworks you may be using like jQuery, right before your closing </body> tag:
69
+
70
+ <!-- Javascript at the bottom for fast page loading -->
71
+ <script src='path/to/js/loader.js'></script>
72
+ }
73
+
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: compass-aurora
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ version: "0.1"
9
+ platform: ruby
10
+ authors:
11
+ - Sam Richard
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+
16
+ date: 2012-08-01 00:00:00 -04:00
17
+ default_executable:
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
20
+ name: compass
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ segments:
27
+ - 0
28
+ - 13
29
+ - alpha
30
+ - 0
31
+ version: 0.13.alpha.0
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: toolkit
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ - 1
44
+ - 10
45
+ version: 0.1.10
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: sassy-buttons
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 1
58
+ - 1
59
+ version: 0.1.1
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ description: The Aurora base theme
63
+ email:
64
+ - snugug@gmail.com
65
+ executables: []
66
+
67
+ extensions: []
68
+
69
+ extra_rdoc_files: []
70
+
71
+ files:
72
+ - lib/aurora.rb
73
+ - stylesheets/_aurora-singularitygs.scss
74
+ - stylesheets/_aurora-susy.scss
75
+ - templates/project/_base.scss
76
+ - templates/project/manifest.rb
77
+ - templates/shared/_design.scss
78
+ - templates/shared/_extendables.scss
79
+ - templates/shared/_functions.scss
80
+ - templates/shared/_ie-design.scss
81
+ - templates/shared/_ie-layout.scss
82
+ - templates/shared/_layout.scss
83
+ - templates/shared/_mixins.scss
84
+ - templates/shared/_print-design.scss
85
+ - templates/shared/_print-layout.scss
86
+ - templates/shared/_style-guide.scss
87
+ - templates/shared/_variables.scss
88
+ - templates/shared/aurora.info.erb
89
+ - templates/shared/hammer.js
90
+ - templates/shared/ie.scss
91
+ - templates/shared/loader.js
92
+ - templates/shared/modernizr-2.5.3.js
93
+ - templates/shared/print.scss
94
+ - templates/shared/style.scss
95
+ - templates/shared/template.php.erb
96
+ - templates/singularity/_base.scss
97
+ - templates/singularity/manifest.rb
98
+ has_rdoc: true
99
+ homepage: https://github.com/Snugug/Aurora
100
+ licenses: []
101
+
102
+ post_install_message:
103
+ rdoc_options: []
104
+
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ segments:
119
+ - 1
120
+ - 2
121
+ version: "1.2"
122
+ requirements: []
123
+
124
+ rubyforge_project: compass-aurora
125
+ rubygems_version: 1.3.6
126
+ signing_key:
127
+ specification_version: 3
128
+ summary: Drupal base theme Aurora
129
+ test_files: []
130
+