compass-aurora 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aurora.rb +1 -1
- data/templates/shared/config.rb.erb +36 -8
- metadata +2 -1
data/lib/aurora.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
<% project_name = File.basename(Compass.configuration.project_path) %># Require any additional compass plugins here.
|
2
2
|
require 'aurora'
|
3
3
|
|
4
|
+
# Change this to :production when ready to deploy the CSS to the live server.
|
5
|
+
environment = :development
|
6
|
+
#environment = :production
|
7
|
+
|
8
|
+
# In development, we can turn on the FireSass-compatible debug_info.
|
9
|
+
firesass = false
|
10
|
+
#firesass = true
|
4
11
|
|
5
12
|
# Set this to the root of your project when deployed:
|
6
13
|
http_path = "/sites/all/themes/<%= project_name %>"
|
@@ -9,18 +16,39 @@ sass_dir = "sass"
|
|
9
16
|
images_dir = "images"
|
10
17
|
javascripts_dir = "js"
|
11
18
|
|
12
|
-
# You can select your preferred output style here (can be overridden via the command line):
|
13
|
-
# output_style = :expanded or :nested or :compact or :compressed
|
14
|
-
|
15
|
-
# To enable relative paths to assets via compass helper functions. Uncomment:
|
16
|
-
relative_assets = true
|
17
|
-
|
18
|
-
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
19
|
-
# line_comments = false
|
20
19
|
|
20
|
+
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
|
21
|
+
# included with a module by uncommenting and modifying one of the lines below:
|
22
|
+
#add_import_path "../../../default/modules/FOO"
|
23
|
+
#add_import_path "../../../all/modules/FOO"
|
24
|
+
#add_import_path "../../../../modules/FOO"
|
21
25
|
|
22
26
|
# If you prefer the indented syntax, you might want to regenerate this
|
23
27
|
# project again passing --syntax sass, or you can uncomment this:
|
24
28
|
# preferred_syntax = :sass
|
25
29
|
# and then run:
|
26
30
|
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
|
31
|
+
|
32
|
+
|
33
|
+
##
|
34
|
+
## You probably don't need to edit anything below this.
|
35
|
+
##
|
36
|
+
|
37
|
+
# Disable cache busting on image assets
|
38
|
+
asset_cache_buster :none
|
39
|
+
|
40
|
+
# You can select your preferred output style here (can be overridden via the command line):
|
41
|
+
# output_style = :expanded or :nested or :compact or :compressed
|
42
|
+
output_style = (environment == :development) ? :expanded : :compressed
|
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 the server root.
|
47
|
+
relative_assets = true
|
48
|
+
|
49
|
+
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
50
|
+
line_comments = false
|
51
|
+
|
52
|
+
# Pass options to sass. For development, we turn on the FireSass-compatible
|
53
|
+
# debug_info if the firesass config variable above is true.
|
54
|
+
sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {}
|