Projet

Général

Profil

Paste
Télécharger (2,18 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / adaptivetheme / at_subtheme / config.rb @ 87dbc3bf

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
# This config file is borrowed from Zen, so thanks JohnAlbin for your hard work
9
# in bringing such fine tools to Drupal so us mere mortals may benefit.
10

    
11

    
12
# Set the Environment Variable
13
# Using :development enables the use of FireSass but will bloat the stylesheets
14
# with debug code, be sure to change to :production when moving from development
15
# to production servers.
16
environment = :development
17
#environment = :production
18

    
19

    
20
# Location of the theme's resources.
21
# Compass will overwrite the CSS files in the css_dir when set to watch.
22
css_dir = "css"
23
sass_dir = "sass"
24
images_dir = "css/images"
25

    
26

    
27
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
28
# included with a module by uncommenting and modifying one of the lines below:
29
#add_import_path "../../../default/modules/FOO"
30
#add_import_path "../../../all/modules/FOO"
31
#add_import_path "../../../../modules/FOO"
32

    
33

    
34
################################################################################
35
# You probably don't need to edit anything below this.
36

    
37

    
38
# You can select your preferred output style here (can be overridden via the
39
# command line)
40
#output_style = :expanded or :nested or :compact or :compressed
41
output_style = (environment == :development) ? :expanded : :compact
42

    
43

    
44
# To enable relative paths to assets via compass helper functions. Since Drupal
45
# themes can be installed in multiple locations, we don't need to worry about
46
# the absolute path to the theme from server root.
47
relative_assets = true
48

    
49
# To disable debugging comments that display the original location of your
50
# selectors. Uncomment:
51
# line_comments = false
52

    
53
# Pass options to sass.
54
# - For development, we turn on the FireSass-compatible debug_info.
55
# - For production, we force the CSS to be regenerated even though the source
56
#   scss may not have changed, since we want the CSS to be compressed and have
57
#   the debug info removed.
58
sass_options = (environment == :development) ? {:debug_info => true} : {:always_update => true}