index.js
function redact(_options, callback) {
	var imports = [], 	// List of scss to import
		output = '', 	// The scss output
		errors = [];	// List of errors encountered

	// Build core
	theme['core'] = {};
	_.each(_options.build.core, function(objects, family) {
		theme['core'][family] = {};
		_.each(objects, function(objectName) {
			luiTheme('core.' + family + '.' + objectName);
			imports.push('core/' + family + '/' + objectName);
		});
	});

	// Build plugins
	if (_options.build.plugins) {
		theme['plugins'] = {};
		_.each(_options.build.plugins, function(plugin) {
			luiTheme('plugins.' + plugin);
		});
	}

	output = tosass.format({theme: theme, imports: imports});

	if (typeof(callback) === 'function') {
		callback(output);
	}
	return output;
}
function redact(_options, callback) {
	var imports = [], 	// List of scss to import
		output = '', 	// The scss output
		errors = [];	// List of errors encountered

	// Build core
	theme['core'] = {};
	_.each(_options.build.core, function(objects, family) {
		theme['core'][family] = {};
		_.each(objects, function(objectName) {
			luiTheme('core.' + family + '.' + objectName);
			imports.push('core/' + family + '/' + objectName);
		});
	});

	// Build plugins
	if (_options.build.plugins) {
		theme['plugins'] = {};
		_.each(_options.build.plugins, function(plugin) {
			luiTheme('plugins.' + plugin);
		});
	}

	output = tosass.format({theme: theme, imports: imports});

	if (typeof(callback) === 'function') {
		callback(output);
	}
	return output;
}
Compiles build definitions and theme variables into a ready-to-import scss string.

@param {Object} options
@param {Function} callback
@return {String} the scss output