Skip to content

Commit

Permalink
Repaired minor issues in spacings module.
Browse files Browse the repository at this point in the history
  • Loading branch information
diqidoq committed Feb 14, 2024
1 parent 1eaae0e commit c245445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions scss/_spacing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
@use 'spacing_settings';
@use "sass:math";

$c: null;
@if spacing_settings.$enable-child-selectors == yes {
$c: jass_settings.$child-selector-extension;
}

$m: null; $p: null; $w: null; $h: null;
$wmin: null; $wmax: null; $hmin: null; $hmax: null;
$pos:'top','right','bottom','left';
Expand Down Expand Up @@ -41,11 +46,6 @@ $i: null;
@error "$primary-unit-type must be one of > em or > px." ;
}

$c: null;
@if spacing_settings.$enable-child-selectors == yes {
$c: jass_settings.$child-selector-extension;
}

// ############### spacings ################# //
// ------------------------------------------ //

Expand Down
2 changes: 1 addition & 1 deletion scss/_spacing_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $generator-dimension-steps: 8; $generator-dimension-rhythm: 50; // px 50,100,15
// Turns class names from value based into incrementing index based.
$index-classes: no; // yes/no
$enable-child-selectors: no; // yes/no (default:no)
$child-selector-extension: '--c > *';

$selectors: short; // long/short
$override-spacing: no; // yes/no > !important
$override-dimensions: no; // yes/no > !important

0 comments on commit c245445

Please sign in to comment.