blog/themes/embark/source/css/00-functions/_functions.get-spacing-inli...

13 lines
312 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// Spacing Inline
/// Get the Inline spacing of the map
/// @group Spacing
/// @param {string} $key
@function get-spacing-inline($key) {
@if map-has-key($spacingInline, $key) {
@return map-get($spacingInline, $key);
}
@warn "The key #{$key} is not in the map $spacingInline";
@return null;
}