forked from coderiver/frontcom
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.rb
29 lines (24 loc) · 888 Bytes
/
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
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
relative_assets = true
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
output_style = :compact
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
preferred_syntax = :scss
module Sass::Script::Functions
def image_path(string)
assert_type string, :String
Sass::Script::String.new("../img/#{string.value}")
end
alias_method :"image-path",:image_path
declare :"image-path", :args => [:string]
end