bangpound-compass-drupal-zen-plugin 0.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.mkdn ADDED
@@ -0,0 +1,25 @@
1
+ Drupal Zen theme - Compass Plugin
2
+ ===================================
3
+
4
+ * Port of Version 2
5
+ * 2009-04-24
6
+
7
+ Sass stylesheets created by Benjamin Doherty (bangpound). See Drupal.org for more info about Zen theme: <http://drupal.org/project/zen>
8
+
9
+ Compass plugins can require libraries and provide frameworks. Multiple libraries may be included in this project for each version of Zen theme, and each of these libraries provides the zen subtheme framework.
10
+
11
+ ---------
12
+
13
+ This plugin adds the Drupal Zen theme STARTERKIT to [Compass](http://compass-style.org/).
14
+
15
+ Install
16
+ =======
17
+
18
+ sudo gem install chriseppstein-compass
19
+ sudo gem install (what?)
20
+
21
+ Create a Drupal Zen theme Compass Project
22
+ =========================================
23
+
24
+ compass -r d6_zen2 -f zen <project name>
25
+
data/Rakefile ADDED
@@ -0,0 +1,37 @@
1
+ require 'fileutils'
2
+ require 'sass'
3
+
4
+ begin
5
+ require 'jeweler'
6
+
7
+ Jeweler::Tasks.new do |gemspec|
8
+ gemspec.name = "compass-drupal-zen-plugin"
9
+ gemspec.summary = "Compass compatible Sass port of Drupal Zen theme"
10
+ gemspec.email = "bjd@pobox.com"
11
+ gemspec.homepage = "http://github.com/bangpound/compass-drupal-zen-plugin"
12
+ gemspec.description = "Zen is the ultimate starting theme for Drupal, an homage to the CSS Zen Garden site where designers can redesign the page purely through the use of CSS. http://drupal.org/project/zen"
13
+ gemspec.authors = ["Benjamin Doherty"]
14
+
15
+ gemspec.files.include %w(d6_zen2/*/*/*)
16
+ end
17
+
18
+ rescue LoadError
19
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
20
+
21
+ require 'echoe'
22
+
23
+ Echoe.new('compass-drupal-zen-plugin', open('VERSION').read) do |p|
24
+ # p.rubyforge_name = 'drupal-zen'
25
+ p.summary = "Compass compatible Sass port of Drupal Zen theme"
26
+ p.description = "Zen is the ultimate starting theme for Drupal, an homage to the CSS Zen Garden site where designers can redesign the page purely through the use of CSS. http://drupal.org/project/zen"
27
+ p.url = "http://github.com/bangpound/compass-drupal-zen-plugin"
28
+ p.author = ['Benjamin Doherty']
29
+ p.email = "bjd@bangpound.org"
30
+ p.dependencies = ["chriseppstein-compass"]
31
+ p.has_rdoc = false
32
+ end
33
+
34
+ rescue LoadError => boom
35
+ puts "You are missing a dependency required for meta-operations on this gem."
36
+ puts "#{boom.to_s.capitalize}."
37
+ end
data/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :major: 0
3
+ :minor: 1
4
+ :patch: 0
@@ -0,0 +1,13 @@
1
+ @import compass/utilities/general/float.sass
2
+
3
+ =zen-region-visibility
4
+ :overflow visible
5
+ // A very nice CSS3 property
6
+ :word-wrap break-word
7
+
8
+ =zen-region(!width, !left_margin = 0)
9
+ +reset-box-model
10
+ +float-left
11
+ :width = !width
12
+ :margin-left = !left_margin
13
+ :margin-right = -(!width + !left_margin)
@@ -0,0 +1,98 @@
1
+ ; $Id: STARTERKIT.info,v 1.18 2009/02/17 05:09:29 johnalbin Exp $
2
+
3
+
4
+ ; The name and description of the theme used on the admin/build/themes page.
5
+ name = Zen Themer’s Starter Kit
6
+ description = Read the <a href="http://drupal.org/node/226507">online docs</a> on how to create a sub-theme.
7
+
8
+ ; The screenshot used on the admin/build/themes page.
9
+ screenshot = screenshot.png
10
+
11
+ ; "core" specifies the version of Drupal that this theme is compatible with.
12
+ ; "base theme" specifies that this is a theme that uses the "zen" theme as its
13
+ ; base theme. Its unlikely you will ever need to change these, but they are
14
+ ; required fields for a Zen sub-theme. The "engine" field is not used in a
15
+ ; sub-theme since the engine is inherited from its base theme.
16
+ core = 6.x
17
+ base theme = zen
18
+
19
+ ; This section adds CSS files to your theme. The media type is specified in
20
+ ; the brackets. Typical CSS media types include "all", "screen", "print", and
21
+ ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full
22
+ ; list of stylesheet media types in CSS 2.1. The iPhone's preferred media type
23
+ ; is based on the CSS3 Media queries. http://www.w3.org/TR/css3-mediaqueries/
24
+ ;
25
+ ; You can also override any of Zen's stylesheets or any module's stylesheets,
26
+ ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at
27
+ ; http://drupal.org/node/171209 for more details.
28
+ stylesheets[all][] = html-elements.css
29
+ ; stylesheets[all][] = wireframes.css
30
+ stylesheets[all][] = layout.css
31
+ stylesheets[all][] = backgrounds.css
32
+ ; stylesheets[all][] = tabs.css
33
+ ; stylesheets[all][] = messages.css
34
+ stylesheets[all][] = pages.css
35
+ ; stylesheets[all][] = block-editing.css
36
+ stylesheets[all][] = blocks.css
37
+ stylesheets[all][] = navigation.css
38
+ stylesheets[all][] = views-styles.css
39
+ stylesheets[all][] = nodes.css
40
+ stylesheets[all][] = comments.css
41
+ stylesheets[all][] = forms.css
42
+ stylesheets[all][] = fields.css
43
+ stylesheets[print][] = print.css
44
+ ; stylesheets[handheld][] = mobile.css
45
+ ; stylesheets[only screen and (max-device-width: 480px)][] = iphone.css
46
+
47
+ ; Set the conditional stylesheets that are processed by IE.
48
+ ; conditional-stylesheets[if IE][all][] = ie.css
49
+ ; conditional-stylesheets[if lte IE 6][all][] = ie6.css
50
+ ; conditional-stylesheets[if lte IE 5][all][] = ie5.css
51
+
52
+ ; Optionally add some jquery scripts to your theme.
53
+ ; scripts[] = script.js
54
+
55
+ ; The regions defined in Zen's default page.tpl.php file. The name in
56
+ ; brackets is the name of the variable in the page.tpl.php file, (e.g.
57
+ ; "[content_top]" in the .info file means there should be a $content_top
58
+ ; variable in the page.tpl.php file.) The text after the equals sign is a
59
+ ; descriptive text used on the admin/build/blocks page.
60
+ ;
61
+ ; To add a new region, copy Zen's page.tpl.php to your sub-theme's directory,
62
+ ; add a line line to this file, and then add the new variable to your
63
+ ; page.tpl.php template.
64
+ regions[left] = left sidebar
65
+ regions[right] = right sidebar
66
+ regions[navbar] = navigation bar
67
+ regions[content_top] = content top
68
+ regions[content_bottom] = content bottom
69
+ regions[header] = header
70
+ regions[footer] = footer
71
+ regions[closure_region] = closure
72
+
73
+ ; Various page elements output by the theme can be toggled on and off. The
74
+ ; "features" control which of these check boxes display on the
75
+ ; admin/build/themes config page. This is useful for suppressing check boxes
76
+ ; for elements not used by your sub-theme. To suppress a check box, omit the
77
+ ; entry for it below. See the Drupal 6 Theme Guide for more info:
78
+ ; http://drupal.org/node/171205#features
79
+ features[] = logo
80
+ features[] = name
81
+ features[] = slogan
82
+ features[] = mission
83
+ features[] = node_user_picture
84
+ features[] = comment_user_picture
85
+ features[] = search
86
+ features[] = favicon
87
+ features[] = primary_links
88
+ features[] = secondary_links
89
+
90
+ ; Set the default settings to be used in theme-settings.php
91
+ settings[zen_block_editing] = 1
92
+ settings[zen_breadcrumb] = yes
93
+ settings[zen_breadcrumb_separator] = ' › '
94
+ settings[zen_breadcrumb_home] = 1
95
+ settings[zen_breadcrumb_trailing] = 1
96
+ settings[zen_breadcrumb_title] = 0
97
+ settings[zen_rebuild_registry] = 1
98
+ settings[zen_wireframes] = 0
@@ -0,0 +1 @@
1
+ require 'd6_zen'
@@ -0,0 +1,221 @@
1
+ @import zen/zen.sass
2
+ @import compass/utilities/general/float.sass
3
+ @import compass/utilities/lists.sass
4
+
5
+ //
6
+ @file
7
+ Layout Styling (DIV Positioning)
8
+
9
+ Define CSS classes to create a table-free, 3-column, 2-column, or single
10
+ column layout depending on whether blocks are enabled in the left or right
11
+ columns.
12
+
13
+ This layout is based on the Zen Columns layout method.
14
+ http://drupal.org/node/201428
15
+
16
+ Only CSS that affects the layout (positioning) of major elements should be
17
+ listed here. Such as:
18
+ display, position, float, clear, width, height, min-width, min-height
19
+ margin, border, padding, overflow
20
+
21
+
22
+ !zen_left_width ||= 200px
23
+ !zen_right_width ||= 200px
24
+ !zen_content_width ||= 560px
25
+ !zen_gutter ||= 20px
26
+ !zen_navbar_height ||= 3.6em
27
+
28
+ !zen_page_width ||= !zen_left_width + !zen_content_width + !zen_right_width
29
+
30
+
31
+ // Body
32
+
33
+ body
34
+
35
+ #page,
36
+ #closure-blocks
37
+ //
38
+ If you want to make the page a fixed width and centered in the viewport,
39
+ this is the standards-compliant way to do that. See also the ie6.css file
40
+ for the necessary IE5/IE6quirks hack to center a div.
41
+ :margin-left auto
42
+ :margin-right auto
43
+ :width = !zen_page_width
44
+
45
+ #page-inner
46
+
47
+ #navigation-top,
48
+ #navigation
49
+ //
50
+ Take the named anchors out of the doc flow
51
+ and prevent any anchor styles from appearing.
52
+ :position absolute
53
+ :left -10000px
54
+
55
+ #skip-to-nav
56
+ +float-right
57
+ :margin 0 !important
58
+ :font-size 0.8em
59
+
60
+ a
61
+ &:link, &:visited
62
+ // Same as background color of page
63
+ :color #fff
64
+
65
+ &:hover
66
+ :color #000
67
+ :text-decoration none
68
+
69
+ //
70
+ Alternatively, the skip-to-nav link can be completely hidden until a user tabs
71
+ to the link. Un-indent the following CSS to use this technique.
72
+
73
+ #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
74
+ :position absolute
75
+ :left 0
76
+ :top -500px
77
+ :width 1px
78
+ :height 1px
79
+ :overflow hidden
80
+
81
+ #skip-to-nav a:active, #skip-to-nav a:focus
82
+ :position static
83
+ :width auto
84
+ :height auto
85
+
86
+ // Header
87
+
88
+ #header
89
+
90
+ #header-inner
91
+
92
+ #logo-title
93
+
94
+ #logo
95
+ +float-left
96
+
97
+ #site-name
98
+
99
+ #site-slogan
100
+
101
+ #header-blocks
102
+ // Clear the logo
103
+ :clear both
104
+
105
+ // Main (container for everything else)
106
+
107
+ #main
108
+ :position relative
109
+
110
+ #main-inner
111
+
112
+
113
+ // Content
114
+
115
+ #content,
116
+ .no-sidebars #content
117
+ +zen-region(!zen_left_width + !zen_content_width + !zen_right_width)
118
+
119
+ .sidebar-left #content
120
+ +zen-region(!zen_content_width + !zen_right_width, !zen_left_width)
121
+
122
+ .sidebar-right #content
123
+ +zen-region(!zen_left_width + !zen_content_width)
124
+
125
+ .two-sidebars #content
126
+ +zen-region(!zen_content_width, !zen_left_width)
127
+
128
+ #content-inner
129
+ +reset-box-model
130
+
131
+ // Navbar
132
+
133
+ #navbar
134
+ +zen-region(100%)
135
+ //
136
+ The navbar can have any arbritrary height. We picked one
137
+ that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
138
+ Set this to the same value as the margin-top below.
139
+ :height = !zen_navbar_height
140
+
141
+ ul
142
+ // Primary and secondary links
143
+ +reset-box-model
144
+ // A simple method to get navbar links to appear in one line.
145
+ +horizontal-list(10px)
146
+ // There are many methods to get navbar links to appear in one line.
147
+ // Here's an alternate method:
148
+ // +inline-list
149
+ :text-align left
150
+
151
+ .with-navbar
152
+ #content, #sidebar-left, #sidebar-right
153
+ :margin-top = !zen_navbar_height
154
+
155
+ #navbar-inner
156
+
157
+ #search-box
158
+ +zen-region(!zen_left_width)
159
+
160
+ #primary
161
+ // Width of search-box
162
+ :margin-left = !zen_navbar_height
163
+
164
+ #secondary
165
+ // Width of search-box
166
+ :margin-left = !zen_navbar_height
167
+
168
+ // Sidebar-left
169
+
170
+ #sidebar-left
171
+ +zen-region(!zen_left_width)
172
+
173
+ #sidebar-left-inner
174
+ :margin
175
+ :right = !zen_gutter
176
+
177
+ // Sidebar-right
178
+
179
+ #sidebar-right
180
+ +zen-region(!zen_right_width, !zen_left_width + !zen_content_width)
181
+
182
+ #sidebar-right-inner
183
+ :margin
184
+ :left = !zen_gutter
185
+
186
+ // Footer
187
+
188
+ #footer
189
+
190
+ #footer-inner
191
+
192
+ // Closure
193
+
194
+ #closure-blocks
195
+ // See also the #page declaration above that this div shares.
196
+
197
+ // Prevent overflowing content
198
+
199
+ #header,
200
+ #content,
201
+ #navbar,
202
+ #sidebar-left,
203
+ #sidebar-right,
204
+ #footer,
205
+ #closure-blocks
206
+ +zen-region-visibility
207
+
208
+ #navbar
209
+ // May need to be removed if using a dynamic drop-down menu
210
+ :overflow hidden
211
+
212
+ //
213
+ If a div.clear-block doesn't have any content after it and its bottom edge
214
+ touches the bottom of the viewport, Firefox and Safari will mistakenly
215
+ place several pixels worth of space between the bottom of the div and the
216
+ bottom of the viewport. Un-indent this CSS property to fix this.
217
+ Note: with some over-large content, this property might cause scrollbars
218
+ to appear on the #page div.
219
+
220
+ #page
221
+ :overflow-y hidden
Binary file
@@ -0,0 +1,8 @@
1
+ stylesheet 'layout.sass', :media => "screen, projection"
2
+ file 'config.rb'
3
+ file 'favicon.ico'
4
+ file 'logo.png'
5
+ file 'screenshot.png'
6
+ file 'STARTERKIT.info'
7
+ file 'template.php'
8
+ file 'theme-settings.php'
@@ -0,0 +1,169 @@
1
+ <?php
2
+ // $Id: template.php,v 1.19 2009/02/19 14:48:15 johnalbin Exp $
3
+
4
+ /**
5
+ * @file
6
+ * Contains theme override functions and preprocess functions for the theme.
7
+ *
8
+ * ABOUT THE TEMPLATE.PHP FILE
9
+ *
10
+ * The template.php file is one of the most useful files when creating or
11
+ * modifying Drupal themes. You can add new regions for block content, modify
12
+ * or override Drupal's theme functions, intercept or make additional
13
+ * variables available to your theme, and create custom PHP logic. For more
14
+ * information, please visit the Theme Developer's Guide on Drupal.org:
15
+ * http://drupal.org/theme-guide
16
+ *
17
+ * OVERRIDING THEME FUNCTIONS
18
+ *
19
+ * The Drupal theme system uses special theme functions to generate HTML
20
+ * output automatically. Often we wish to customize this HTML output. To do
21
+ * this, we have to override the theme function. You have to first find the
22
+ * theme function that generates the output, and then "catch" it and modify it
23
+ * here. The easiest way to do it is to copy the original function in its
24
+ * entirety and paste it here, changing the prefix from theme_ to STARTERKIT_.
25
+ * For example:
26
+ *
27
+ * original: theme_breadcrumb()
28
+ * theme override: STARTERKIT_breadcrumb()
29
+ *
30
+ * where STARTERKIT is the name of your sub-theme. For example, the
31
+ * zen_classic theme would define a zen_classic_breadcrumb() function.
32
+ *
33
+ * If you would like to override any of the theme functions used in Zen core,
34
+ * you should first look at how Zen core implements those functions:
35
+ * theme_breadcrumbs() in zen/template.php
36
+ * theme_menu_item_link() in zen/template.php
37
+ * theme_menu_local_tasks() in zen/template.php
38
+ *
39
+ * For more information, please visit the Theme Developer's Guide on
40
+ * Drupal.org: http://drupal.org/node/173880
41
+ *
42
+ * CREATE OR MODIFY VARIABLES FOR YOUR THEME
43
+ *
44
+ * Each tpl.php template file has several variables which hold various pieces
45
+ * of content. You can modify those variables (or add new ones) before they
46
+ * are used in the template files by using preprocess functions.
47
+ *
48
+ * This makes THEME_preprocess_HOOK() functions the most powerful functions
49
+ * available to themers.
50
+ *
51
+ * It works by having one preprocess function for each template file or its
52
+ * derivatives (called template suggestions). For example:
53
+ * THEME_preprocess_page alters the variables for page.tpl.php
54
+ * THEME_preprocess_node alters the variables for node.tpl.php or
55
+ * for node-forum.tpl.php
56
+ * THEME_preprocess_comment alters the variables for comment.tpl.php
57
+ * THEME_preprocess_block alters the variables for block.tpl.php
58
+ *
59
+ * For more information on preprocess functions and template suggestions,
60
+ * please visit the Theme Developer's Guide on Drupal.org:
61
+ * http://drupal.org/node/223440
62
+ * and http://drupal.org/node/190815#template-suggestions
63
+ */
64
+
65
+
66
+ /*
67
+ * Add any conditional stylesheets you will need for this sub-theme.
68
+ *
69
+ * To add stylesheets that ALWAYS need to be included, you should add them to
70
+ * your .info file instead. Only use this section if you are including
71
+ * stylesheets based on certain conditions.
72
+ */
73
+ /* -- Delete this line if you want to use and modify this code
74
+ // Example: optionally add a fixed width CSS file.
75
+ if (theme_get_setting('STARTERKIT_fixed')) {
76
+ drupal_add_css(path_to_theme() . '/layout-fixed.css', 'theme', 'all');
77
+ }
78
+ // */
79
+
80
+
81
+ /**
82
+ * Implementation of HOOK_theme().
83
+ */
84
+ function STARTERKIT_theme(&$existing, $type, $theme, $path) {
85
+ $hooks = zen_theme($existing, $type, $theme, $path);
86
+ // Add your theme hooks like this:
87
+ /*
88
+ $hooks['hook_name_here'] = array( // Details go here );
89
+ */
90
+ // @TODO: Needs detailed comments. Patches welcome!
91
+ return $hooks;
92
+ }
93
+
94
+ /**
95
+ * Override or insert variables into all templates.
96
+ *
97
+ * @param $vars
98
+ * An array of variables to pass to the theme template.
99
+ * @param $hook
100
+ * The name of the template being rendered (name of the .tpl.php file.)
101
+ */
102
+ /* -- Delete this line if you want to use this function
103
+ function STARTERKIT_preprocess(&$vars, $hook) {
104
+ $vars['sample_variable'] = t('Lorem ipsum.');
105
+ }
106
+ // */
107
+
108
+ /**
109
+ * Override or insert variables into the page templates.
110
+ *
111
+ * @param $vars
112
+ * An array of variables to pass to the theme template.
113
+ * @param $hook
114
+ * The name of the template being rendered ("page" in this case.)
115
+ */
116
+ /* -- Delete this line if you want to use this function
117
+ function STARTERKIT_preprocess_page(&$vars, $hook) {
118
+ $vars['sample_variable'] = t('Lorem ipsum.');
119
+ }
120
+ // */
121
+
122
+ /**
123
+ * Override or insert variables into the node templates.
124
+ *
125
+ * @param $vars
126
+ * An array of variables to pass to the theme template.
127
+ * @param $hook
128
+ * The name of the template being rendered ("node" in this case.)
129
+ */
130
+ /* -- Delete this line if you want to use this function
131
+ function STARTERKIT_preprocess_node(&$vars, $hook) {
132
+ $vars['sample_variable'] = t('Lorem ipsum.');
133
+
134
+ // Optionally, run node-type-specific preprocess functions, like
135
+ // STARTERKIT_preprocess_node_page() or STARTERKIT_preprocess_node_story().
136
+ $function = __FUNCTION__ . '_' . $vars['node']->type;
137
+ if (function_exists($function)) {
138
+ $function($vars);
139
+ }
140
+ }
141
+ // */
142
+
143
+ /**
144
+ * Override or insert variables into the comment templates.
145
+ *
146
+ * @param $vars
147
+ * An array of variables to pass to the theme template.
148
+ * @param $hook
149
+ * The name of the template being rendered ("comment" in this case.)
150
+ */
151
+ /* -- Delete this line if you want to use this function
152
+ function STARTERKIT_preprocess_comment(&$vars, $hook) {
153
+ $vars['sample_variable'] = t('Lorem ipsum.');
154
+ }
155
+ // */
156
+
157
+ /**
158
+ * Override or insert variables into the block templates.
159
+ *
160
+ * @param $vars
161
+ * An array of variables to pass to the theme template.
162
+ * @param $hook
163
+ * The name of the template being rendered ("block" in this case.)
164
+ */
165
+ /* -- Delete this line if you want to use this function
166
+ function STARTERKIT_preprocess_block(&$vars, $hook) {
167
+ $vars['sample_variable'] = t('Lorem ipsum.');
168
+ }
169
+ // */
@@ -0,0 +1,45 @@
1
+ <?php
2
+ // $Id: theme-settings.php,v 1.7 2008/09/11 09:36:50 johnalbin Exp $
3
+
4
+ // Include the definition of zen_settings() and zen_theme_get_default_settings().
5
+ include_once './' . drupal_get_path('theme', 'zen') . '/theme-settings.php';
6
+
7
+
8
+ /**
9
+ * Implementation of THEMEHOOK_settings() function.
10
+ *
11
+ * @param $saved_settings
12
+ * An array of saved settings for this theme.
13
+ * @return
14
+ * A form array.
15
+ */
16
+ function STARTERKIT_settings($saved_settings) {
17
+
18
+ // Get the default values from the .info file.
19
+ $defaults = zen_theme_get_default_settings('STARTERKIT');
20
+
21
+ // Merge the saved variables and their default values.
22
+ $settings = array_merge($defaults, $saved_settings);
23
+
24
+ /*
25
+ * Create the form using Forms API: http://api.drupal.org/api/6
26
+ */
27
+ $form = array();
28
+ /* -- Delete this line if you want to use this setting
29
+ $form['STARTERKIT_example'] = array(
30
+ '#type' => 'checkbox',
31
+ '#title' => t('Use this sample setting'),
32
+ '#default_value' => $settings['STARTERKIT_example'],
33
+ '#description' => t("This option doesn't do anything; it's just an example."),
34
+ );
35
+ // */
36
+
37
+ // Add the base theme's settings.
38
+ $form += zen_settings($saved_settings, $defaults);
39
+
40
+ // Remove some of the base theme's settings.
41
+ unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet.
42
+
43
+ // Return the form
44
+ return $form;
45
+ }
data/lib/d6_zen2.rb ADDED
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), 'd6_zen2', 'compass_plugin')
@@ -0,0 +1,5 @@
1
+ options = Hash.new
2
+ options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'd6_zen2/sass'))
3
+ options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'd6_zen2/templates'))
4
+
5
+ Compass::Frameworks.register('zen', options)
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bangpound-compass-drupal-zen-plugin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Benjamin Doherty
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-04-26 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Zen is the ultimate starting theme for Drupal, an homage to the CSS Zen Garden site where designers can redesign the page purely through the use of CSS. http://drupal.org/project/zen
17
+ email: bjd@pobox.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.mkdn
24
+ files:
25
+ - README.mkdn
26
+ - Rakefile
27
+ - VERSION.yml
28
+ - d6_zen2/sass/zen/_zen.sass
29
+ - d6_zen2/templates/project/STARTERKIT.info
30
+ - d6_zen2/templates/project/config.rb
31
+ - d6_zen2/templates/project/favicon.ico
32
+ - d6_zen2/templates/project/layout.sass
33
+ - d6_zen2/templates/project/logo.png
34
+ - d6_zen2/templates/project/manifest.rb
35
+ - d6_zen2/templates/project/screenshot.png
36
+ - d6_zen2/templates/project/template.php
37
+ - d6_zen2/templates/project/theme-settings.php
38
+ - lib/d6_zen2.rb
39
+ - lib/d6_zen2/compass_plugin.rb
40
+ has_rdoc: true
41
+ homepage: http://github.com/bangpound/compass-drupal-zen-plugin
42
+ post_install_message:
43
+ rdoc_options:
44
+ - --charset=UTF-8
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ version:
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
58
+ version:
59
+ requirements: []
60
+
61
+ rubyforge_project:
62
+ rubygems_version: 1.2.0
63
+ signing_key:
64
+ specification_version: 2
65
+ summary: Compass compatible Sass port of Drupal Zen theme
66
+ test_files: []
67
+