Created
May 10, 2017 21:51
-
-
Save mogtofu33/c8bd086d12a6b6540763610893da5364 to your computer and use it in GitHub Desktop.
Sample Drupal Bootstrap sass subtheme config, development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change this to :production when ready to deploy the CSS to the live server. | |
environment = :development | |
#environment = :production | |
# If in development (set above), we can turn on the sourcemap file generation. | |
# Requires sass 3.3+ and compass 1.0+ | |
# Determine version from command line: sass --version && compass --version | |
sourcemap = (environment == :development) ? true : false | |
# Alternative development debugging methods | |
# If in development (above), we can enable line_comments for FireCompass plugin. | |
# Requires Firebug plugin and FireCompass plugin | |
firecompass = false | |
#firecompass = true | |
# If in development (above), we can enable debug_info for the FireSass plugin. | |
# Requires Firebug plugin and Firesass plugin | |
firesass = false | |
#firesass = true | |
# Location of the theme's resources. | |
css_dir = "css" | |
sass_dir = "scss" | |
#extensions_dir = "scss-extensions" | |
images_dir = "images" | |
javascripts_dir = "js" | |
# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials | |
# included with a module by uncommenting and modifying one of the lines below: | |
#add_import_path "../../../default/modules/FOO" | |
#add_import_path "../../../all/modules/FOO" | |
#add_import_path "../../../../modules/FOO" | |
## | |
## 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 = :expanded or :nested or :compact or :compressed | |
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 | |
# To disable debugging comments that display the original location of your selectors. Uncomment: | |
# line_comments = false | |
# Pass options to sass. For development, we turn on the FireSass-compatible | |
# debug_info if the firesass config variable above is true. | |
sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {} | |
# Pass options to sass. For development, we turn on the FireCompass-compatible | |
# line_comments if the firecompass config variable above is true. | |
sass_options = (environment == :development && firecompass == true) ? {:line_comments => true} : sass_options | |
# Pass options to sass. For development and sourcemap variable is true (above), | |
# then pass the "--sourcemap" option flag to compass/sass. | |
sass_options = (environment == :development && sourcemap == true) ? {:sourcemap => true} : sass_options |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment