/// Set border-radius for get a rounded button.
///
/// Given a size of button and a size of picto, this mixin will calculate
/// automaticaly the paddings and the border-radius.
///
/// @group buttons
///
/// @parameter {Number} $button-size - button size
///
/// @example scss - Usage
///   @include k-buttonRounded(40px);
///
/// @example css - CSS output
///    border-radius: 1.25rem;

@mixin k-buttonRounded($button-size) {

  $button-radius: $button-size / 2;

  border-radius: $button-radius;
}
