Skip to content

Instantly share code, notes, and snippets.

@nhunzaker
Last active August 29, 2015 14:06
Show Gist options
  • Save nhunzaker/5d25baa69aeff8f94e85 to your computer and use it in GitHub Desktop.
Save nhunzaker/5d25baa69aeff8f94e85 to your computer and use it in GitHub Desktop.
{
"colors" : {
"red" : "#f00"
}
}
require 'compass/import-once/activate'
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
source 'https://rubygems.org'
gem "sass-json-vars"
gem "sass", "~> 3.3.11"
gem "compass", "1.0.0.alpha.21"
/* line 3, ../sass/screen.scss */
body {
color: #f00;
}
@import "../data/colors.json";
body {
color: map-get($colors, red);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment