ekzo icon indicating copy to clipboard operation
ekzo copied to clipboard

Replace spacing unit with map

Open ArmorDarks opened this issue 9 years ago • 1 comments

Instead of

$ekzo-spacing-unit: $ekzo-line-height !default;

We can allow to do

$ekzo-spacing-units: (
  base: $ekzo-line-height,
  blog: $ekzo-blog-line-height
) !default;

Yet, all benefits of such change are unclear yet.

ArmorDarks avatar Apr 29 '16 14:04 ArmorDarks

I'm not sure that we need this, because it's anyway impossible to generate anything automatically based on it. So, probably it has no difference with just declaring

$ekzo-spacing-unit: $ekzo-line-height !default;
$blog-spacing-unit: $blog-line-height !default;

We could generate margins and paddings based on it, but it's way too opinionated.

ArmorDarks avatar Jun 13 '16 12:06 ArmorDarks