forked from forumone/gesso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.rb
59 lines (45 loc) · 1.79 KB
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# This file is only needed for Compass/Sass integration. If you are not using
# Compass, you may safely ignore or delete this file.
#
# Change this to :production when ready to deploy the CSS to the live server.
environment = :development
# Enable generation of source map files in development mode.
sourcemap = true
# Location of the theme's resources.
css_dir = "css"
fonts_dir = "css/fonts"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "js"
# Require any additional compass plugins installed on your system.
require 'compass'
require 'breakpoint'
require 'singularitygs'
require 'sass-globbing'
# Disable cache busting on image assets.
asset_cache_buster :none
# Set default file encoding.
Encoding.default_external = "UTF-8"
#
# You probably don't need to edit anything below this.
#
# You can select your preferred output style here (can be overridden via the
# command line):
output_style = (environment == :development) ? :expanded : :compressed
# To enable relative paths to assets via compass helper functions. Since Drupal
# themes can be installed in multiple locations, we don't need to worry about
# the absolute path to the theme from the server root.
relative_assets = true
# Don't show line comments.
line_comments = false
# Show debug information / partial location for FireSass and similar tools.
# Uncomment to enable.
#debug = (environment == :development) ? true : false
# Output debugging info in development mode.
sass_options = (environment == :development && debug == true) ? {:debug_info => true} : {}
# Pass the "--sourcemap" option flag to compass/sass if in development mode.
sass_options = (environment == :development && sourcemap == true) ? {:sourcemap => true} : sass_options
# Increased decimal precision.
# 33.33333% instead of 33.333%
Sass::Script::Number.precision = 5