-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring Marv
Marv requires config.rb to be present at the root of your theme. config.rb can be used to change Compass configuration as well as enable LiveReload.
Marv also looks for a config file located in at ~/.marv/config.rb
. Any global configuration you want to apply to all Marv projects can go here. The config.rb of individual projects will take priority over your global settings.
Below is a list of the configuration options.
live_reload
Set to true to use LiveReload with Marv (optional)
config[:live_reload] = true
compress_js
Set to true to minify Javascript files with Marv (optional)
config[:compress_js] = true
compress_css
Set to true to minify Stylesheets files with Marv (optional)
config[:compress_css] = true
additional_assets
Uncomment the line below to compile assets in custom directories with Marv (optional)
# config[:additional_assets] = [['custom.js'], ['stylesheets', 'custom.css'], ['includes', 'javascripts', 'includes.js']]
require
You can also include additional Sass frameworks by requiring them:
require 'bourbon'
require 'neat'