stylesheets/singularitygs/helpers/_settings.scss in singularitygs-1.2.0.rc.1 vs stylesheets/singularitygs/helpers/_settings.scss in singularitygs-1.2.0.rc.3

- old
+ new

@@ -66,11 +66,11 @@ ////////////////////////////// // Set Settings ////////////////////////////// @function sgs-set($setting, $value) { - @if str-index($setting, '-') > 0 { - @warn "Singularity settings should contain spaces, not dashes. Please replace dashes with spaces. Settings will not work as expected until changed."; + @if (str-index($setting, '-') > 0 or str-index($setting, '_') > 0) and str-index($setting, ' ') == 0 { + @warn "Words in Singularity settings should be spaces, not dashes or underscores. Please replace dashes and underscores between words with spaces. Settings will not work as expected until changed."; } $singularity: map-merge($singularity, ($setting: $value)) !global; @return true; } \ No newline at end of file