<commit_before>%heading-extra-large {
  @extend %font-heading-bold;
  @include typography(heading, 36, 1.3);
  color: $color-green-secondary;

  @include respond-to($mq-m){
    @include typography(heading, 42, 1);
  }
}

%heading-large {
  @extend %font-heading-bold;
  @include typography(heading, 32, 1.3);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 36, 1.3);
  }
}

%heading-medium {
  @extend %font-heading-bold;
  @include typography(heading, 24);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 24);
  }
}

%heading-small {
  @extend %font-heading-bold;
  @include typography(heading, 20);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 20);
  }
}

%heading-extra-small {
  @extend %font-heading-bold;
  @include typography(heading, 16);
  color: $color-text-default;
}
<commit_msg>Refactor headings.<commit_after>%heading-extra-large {
  @extend %font-heading;
  @include typography(heading, 36, 1.3);
  color: $color-green-secondary;

  @include respond-to($mq-m){
    @include typography(heading, 42, 1);
  }
}

%heading-large {
  @extend %font-heading;
  @include typography(heading, 32, 1.2);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 36, 1.2);
  }
}

%heading-medium {
  @extend %font-heading;
  @include typography(heading, 24);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 28);
  }
}

%heading-small {
  @extend %font-heading;
  @include typography(heading, 20);
  color: $color-green-secondary;

  @include respond-to($mq-m) {
    @include typography(heading, 22);
  }
}

%heading-extra-small {
  @extend %font-heading;
  @include typography(heading, 16);
  color: $color-text-default;
}

{'fraction_non_alphanumeric': 0.16809421841541755, 'fraction_numerical': 0.02676659528907923, 'mean_word_length': 3.970744680851064, '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': '5827071', 'n_tokens_mistral': 728, 'n_tokens_neox': 677, 'n_words': 129}