<commit_before>$rem-base: 16px !default

@function strip-unit($num)
  @return $num / ($num * 0 + 1)

@function convert-to-rem($value, $base-value: $rem-base)
  $value: strip-unit($value) / strip-unit($base-value) * 1rem

  @if ($value == 0rem)
    $value: 0

  @return $value

@function rem-calc($values, $base-value: $rem-base)
  $max: length($values)

  @if $max == 1
    @return convert-to-rem(nth($values, 1), $base-value)

  $remValues: ()

  @for $i from 1 through $max
    $remValues: append($remValues, convert-to-rem(nth($values, $i), $base-value))

  @return $remValues

=font-awesome($unicode, $padding-right: 3px, $spin: false)
  font-family: FontAwesome
  content: $unicode
  font-weight: 100
  text-rendering: auto
  -webkit-font-smoothing: antialiased
  -moz-osx-font-smoothing: grayscale

  @if $spin
    -webkit-animation: fa-spin 2s infinite linear
    animation: fa-spin 2s infinite linear
    margin-right: $padding-right
  @else
    padding-right: $padding-right<commit_msg>a spinning element needs to be inline-block<commit_after>$rem-base: 16px !default

@function strip-unit($num)
  @return $num / ($num * 0 + 1)

@function convert-to-rem($value, $base-value: $rem-base)
  $value: strip-unit($value) / strip-unit($base-value) * 1rem

  @if ($value == 0rem)
    $value: 0

  @return $value

@function rem-calc($values, $base-value: $rem-base)
  $max: length($values)

  @if $max == 1
    @return convert-to-rem(nth($values, 1), $base-value)

  $remValues: ()

  @for $i from 1 through $max
    $remValues: append($remValues, convert-to-rem(nth($values, $i), $base-value))

  @return $remValues

=font-awesome($unicode, $padding-right: 3px, $spin: false)
  font-family: FontAwesome
  content: $unicode
  font-weight: 100
  text-rendering: auto
  -webkit-font-smoothing: antialiased
  -moz-osx-font-smoothing: grayscale

  @if $spin
    -webkit-animation: fa-spin 2s infinite linear
    animation: fa-spin 2s infinite linear
    margin-right: $padding-right
    display: inline-block
  @else
    padding-right: $padding-right
{'fraction_non_alphanumeric': 0.15786901270772238, 'fraction_numerical': 0.015640273704789834, 'mean_word_length': 3.7939110070257613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5010907', 'n_tokens_mistral': 798, 'n_tokens_neox': 733, 'n_words': 179}