Commit ceefe110 authored by Thomas Park's avatar Thomas Park
Browse files

set default $bootstrap-sass-asset-helper value

parent f6c06587
......@@ -232,8 +232,10 @@ grunt.registerTask('build_scss', 'build a regular theme from scss', function(the
.replace(/\.less/g, '')
// 11. replace icon-font-path value with conditional for asset helpers
.replace(/(\$icon-font-path:).*;/g, '$1 if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");');
// 12. only assign variables if they haven't been previously set e.g. $var: #f00; > $var: #f00 !default;
if (/\/variables.less$/.test(lessFile)) {
// 12. set default value of $bootstrap-sass-asset-helper to false
out = "$bootstrap-sass-asset-helper: false;\n" + out;
// 13. only assign variables if they haven't been previously set e.g. $var: #f00; > $var: #f00 !default;
out = out.replace(/^(\$.*);/gm, '$1 !default;');
}
......
$bootstrap-sass-asset-helper: false !default;
// Cerulean 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Cosmo 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Custom 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Cyborg 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Darkly 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Flatly 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Journal 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Lumen 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Paper 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Readable 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Sandstone 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Simplex 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Slate 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Spacelab 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Superhero 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// United 3.3.5
// Variables
// --------------------------------------------------
......
$bootstrap-sass-asset-helper: false !default;
// Yeti 3.3.5
// Variables
// --------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment