You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example I'd like to document the following function:
/// Generates a font size
///
/// @param {String} $sizeName
/// The name of the font size
/// @return {number} The value of the font size
@function get-font-size($sizeName) {
@if map.has-key($scale-exponent-map, $sizeName) {
$multiplier: math.pow($scale, map.get($scale-exponent-map, $sizeName));
@return calc(var(--ItgApp-baseFontSize) * #{$multiplier});
} @else {
@error "Size #{$sizeName} must one of the following #{map.keys($scale-exponent-map)}";
}
}
I'd like $sizeName type to be something like a key of $scale-exponent-map
The text was updated successfully, but these errors were encountered:
For example I'd like to document the following function:
I'd like $sizeName type to be something like a key of $scale-exponent-map
The text was updated successfully, but these errors were encountered: