root / drupal7 / sites / all / themes / zen / STARTERKIT / config.rb @ 024de6ea
1 |
#
|
---|---|
2 |
# This file is only needed for Compass/Sass integration. If you are not using
|
3 |
# Compass, you may safely ignore or delete this file.
|
4 |
#
|
5 |
# If you'd like to learn more about Sass and Compass, see the sass/README.txt
|
6 |
# file for more information.
|
7 |
#
|
8 |
|
9 |
|
10 |
# Change this to :production when ready to deploy the CSS to the live server.
|
11 |
environment = :development
|
12 |
#environment = :production
|
13 |
|
14 |
# If in development (set above), we can turn on the sourcemap file generation.
|
15 |
# Requires sass 3.3+ and compass 1.0.1+
|
16 |
# Determine version from command line: sass --version && compass --version
|
17 |
sourcemap = false
|
18 |
#sourcemap = true
|
19 |
|
20 |
# Alternative development debugging methods
|
21 |
# If in development (above), we can enable line_comments for FireCompass plugin.
|
22 |
# Requires Firebug plugin and FireCompass plugin
|
23 |
firecompass = false
|
24 |
#firecompass = true
|
25 |
|
26 |
# If in development (above), we can enable debug_info for the FireSass plugin.
|
27 |
# Requires Firebug plugin and Firesass plugin
|
28 |
firesass = false
|
29 |
#firesass = true
|
30 |
|
31 |
|
32 |
# Location of the theme's resources.
|
33 |
css_dir = "css"
|
34 |
sass_dir = "sass"
|
35 |
extensions_dir = "sass-extensions"
|
36 |
images_dir = "images"
|
37 |
javascripts_dir = "js"
|
38 |
|
39 |
|
40 |
# Require any additional compass plugins installed on your system.
|
41 |
#require 'ninesixty'
|
42 |
#require 'zen-grids'
|
43 |
|
44 |
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
|
45 |
# included with a module by uncommenting and modifying one of the lines below:
|
46 |
#add_import_path "../../../default/modules/FOO"
|
47 |
#add_import_path "../../../all/modules/FOO"
|
48 |
#add_import_path "../../../../modules/FOO"
|
49 |
|
50 |
|
51 |
##
|
52 |
## You probably don't need to edit anything below this.
|
53 |
##
|
54 |
|
55 |
# You can select your preferred output style here (can be overridden via the command line):
|
56 |
# output_style = :expanded or :nested or :compact or :compressed
|
57 |
output_style = (environment == :development) ? :expanded : :compressed |
58 |
|
59 |
# To enable relative paths to assets via compass helper functions. Since Drupal
|
60 |
# themes can be installed in multiple locations, we don't need to worry about
|
61 |
# the absolute path to the theme from the server root.
|
62 |
relative_assets = true
|
63 |
|
64 |
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
65 |
# line_comments = false
|
66 |
|
67 |
# Pass options to sass. For development, we turn on the FireSass-compatible
|
68 |
# debug_info if the firesass config variable above is true.
|
69 |
sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {} |
70 |
|
71 |
# Pass options to sass. For development, we turn on the FireCompass-compatible
|
72 |
# line_comments if the firecompass config variable above is true.
|
73 |
sass_options = (environment == :development && firecompass == true) ? {:line_comments => true} : sass_options |
74 |
|
75 |
# Pass options to sass. For development and sourcemap variable is true (above),
|
76 |
# then pass the "--sourcemap" option flag to compass/sass.
|
77 |
sass_options = (environment == :development && sourcemap == true) ? {:sourcemap => true} : sass_options |