<commit_before>$icon-dimensions: 1.25rem;
$icon-dimensions-small: 1rem;
$icon-dimensions-medium: 1.5rem;
$icon-dimensions-large: 2rem;

.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  vertical-align: text-top;
  height: $icon-dimensions;
  width: $icon-dimensions;
  fill: $text;

  &.is-text {
    width: 1.2em;
    height: 1.2em;
  }

  &.is-small {
    height: $icon-dimensions-small;
    width: $icon-dimensions-small;
  }

  &.is-medium {
    height: $icon-dimensions-medium;
    width: $icon-dimensions-medium;
  }

  &.is-large {
    height: $icon-dimensions-large;
    width: $icon-dimensions-large;
  }

  &.is-faded {
    fill: $grey-light;
    color: $grey-light;
  }

  @each $name, $pair in $colors {
    $color: nth($pair, 1);

    &.is-#{$name} {
      fill: $color;
    }
  }
}<commit_msg>Set color in addition to fill for the icon class<commit_after>$icon-dimensions: 1.25rem;
$icon-dimensions-small: 1rem;
$icon-dimensions-medium: 1.5rem;
$icon-dimensions-large: 2rem;

.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  vertical-align: text-top;
  height: $icon-dimensions;
  width: $icon-dimensions;
  fill: $text;

  &.is-text {
    width: 1.2em;
    height: 1.2em;
  }

  &.is-small {
    height: $icon-dimensions-small;
    width: $icon-dimensions-small;
  }

  &.is-medium {
    height: $icon-dimensions-medium;
    width: $icon-dimensions-medium;
  }

  &.is-large {
    height: $icon-dimensions-large;
    width: $icon-dimensions-large;
  }

  &.is-faded {
    fill: $grey-light;
    color: $grey-light;
  }

  @each $name, $pair in $colors {
    $color: nth($pair, 1);

    &.is-#{$name} {
      fill: $color;
      color: $color;
    }
  }
}
{'fraction_non_alphanumeric': 0.16973532796317606, 'fraction_numerical': 0.01380897583429229, 'mean_word_length': 2.747844827586207, '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': '2825420', 'n_tokens_mistral': 727, 'n_tokens_neox': 689, 'n_words': 129}