-
While overviewing Bootstrap SCSS (v4.5.3) sources, I've noticed one confusing thing about $spacer variable.
Wasn't it more convenient and intuitive to multiply every padding/margin value in "variables" (I often do it for my own themes)? Moreover I've found $spacer usage outside the _variables.scss file. _images.scss
_tables.scss
_type.scss
Should them have their own variables inside _variables.scss just like the other values do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
bootstrap/scss/_variables.scss Lines 239 to 247 in 8fed098 |
Beta Was this translation helpful? Give feedback.
$spacer
gets reused and extended into a Sass map. We use$spacer
as a general baseline that we can scale things around.bootstrap/scss/_variables.scss
Lines 239 to 247 in 8fed098