get-theme-border-radius
get-theme-border-radius(
	$value: 'default',
	$fallback: 0px,
);Description
Get the $value from the $borderRadius map, if not return fallback $width.
Parameters
$value (border radius)
The key that should be retrieved from the $borderRadius map
Default: 'default'
$fallback (unit)
The fallback radius if the $value is not found.
Default: 0px
Return
(unit) Valid unit.
Examples
Get a variety of border-radius properties
.foo {
	border-radius: get-theme-border-radius(); // $value is 'default'
}
.bar {
	border-radius: get-theme-border-radius('large');
}
.baz {
	border-radius: get-theme-border-radius('small');
}
.qux {
  border-radius: get-theme-border-radius('really-small', 3px); // will fallback to 3px
}Updated 5 months ago