smillart / Framework-SASS-Source-Files

Framework SASS Source Files is a Sass-powered framework accomplished by Sass variables, Sass maps, and utility CSS. Ready to use, drop it right into your Sass powered applications.
MIT License
0 stars 1 forks source link

Control the default styling of most elements using predefined spacing. #6

Closed smillart closed 3 years ago

smillart commented 4 years ago

We currently use common values for most of the components. Some of them use predefined spacing's. However, in general all the spacing properties are not taken into account by these common values.

Therefore, It would be necessary to be able to control the default styling of most elements using Predefined spacing's:

$spacer: 1rem !default;
$spacers: () !default;
$spacers: map-merge(
  (
    '0': 0,
    '1': ($spacer * 0.125),
    '2': ($spacer * 0.25),
    '3': ($spacer * 0.375),
    '4': ($spacer * 0.5),
    '5': ($spacer * 0.625),
    '6': ($spacer * 0.75),
    '7': ($spacer * 0.875),
    '8': $spacer,
    '9': ($spacer * 1.125),
    ...
  ),
  $spacers
);
smillart commented 3 years ago

This enhancement will be available with the next release 1.0.1.