<commit_before>@import 'variables';
@import 'functions';

html,
input, textarea, keygen, select, button {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 10pt;
}

@mixin set-bg-border-colors($bgcolor) {
  $color: foreground-meeting-color-contrast($bgcolor);

  background-color: $bgcolor;
  border-color: darken($bgcolor, 20%);
  color: $color;

  a {
    color: $color;
  }

  .active {
    a {
      color: $color;
    }
  }
}

%dark-gray{
  @include set-bg-border-colors($dark-gray);
}
%medium-gray{
  @include set-bg-border-colors($medium-gray);
}
%light-gray{
  @include set-bg-border-colors($light-gray);
}
%lightest-gray{
  @include set-bg-border-colors($lightest-gray);
}
%dark-blue{
  @include set-bg-border-colors($dark-blue);
}
%medium-blue{
  @include set-bg-border-colors($medium-blue);
}
%light-blue{
  @include set-bg-border-colors($light-blue);
}
%lightest-blue{
  @include set-bg-border-colors($lightest-blue);
}
%dark-green {
  @include set-bg-border-colors($dark-green);
}
%medium-green{
  @include set-bg-border-colors($medium-green);
}
%light-green{
  @include set-bg-border-colors($light-green);
}
%lightest-green{
  @include set-bg-border-colors($lightest-green);
}
%dark-red {
  @include set-bg-border-colors($dark-red);
}
%medium-red{
  @include set-bg-border-colors($medium-red);
}
%light-red{
  @include set-bg-border-colors($light-red);
}
%lightest-red{
  @include set-bg-border-colors($lightest-red);
}
%dark-amber {
  @include set-bg-border-colors($dark-amber);
}
%medium-amber{
  @include set-bg-border-colors($medium-amber);
}
%light-amber{
  @include set-bg-border-colors($light-amber);
}
%lightest-amber{
  @include set-bg-border-colors($lightest-amber);
}
%dark-accent {
  @include set-bg-border-colors($dark-accent);
}
%medium-accent{
  @include set-bg-border-colors($medium-accent);
}
%light-accent{
  @include set-bg-border-colors($light-accent);
}
%lightest-accent{
  @include set-bg-border-colors($lightest-accent);
}
%dark-plum {
  @include set-bg-border-colors($dark-plum);
}
%medium-plum{
  @include set-bg-border-colors($medium-plum);
}
%light-plum{
  @include set-bg-border-colors($light-plum);
}
%lightest-plum{
  @include set-bg-border-colors($lightest-plum);
}
%dark-raspberry {
  @include set-bg-border-colors($dark-raspberry);
}
%medium-raspberry{
  @include set-bg-border-colors($medium-raspberry);
}
%light-raspberry{
  @include set-bg-border-colors($light-raspberry);
}
%lightest-raspberry{
  @include set-bg-border-colors($lightest-raspberry);
}
%dark-banana {
  @include set-bg-border-colors($dark-banana);
}
%medium-banana{
  @include set-bg-border-colors($medium-banana);
}
%light-banana{
  @include set-bg-border-colors($light-banana);
}
%lightest-banana{
  @include set-bg-border-colors($lightest-banana);
}

// Generates aliases for level colors
@each $level in danger, error, warning, info, success {
  @each $tone in dark, medium, light, lightest {
    %#{$tone}-#{$level} {
      @if $level == error or $level == danger {
        @extend %#{$tone}-red;
      } @else if $level == warning {
        @extend %#{$tone}-amber;
      } @else if $level == info {
        @extend %#{$tone}-blue;
      } @else if $level == success {
        @extend %#{$tone}-green;
      }
    }
  }
}

@mixin set-color($color, $tone: medium) {
  @extend %#{$tone}-#{$color};
}

@mixin set-normal-color($color, $tone) {
  &.#{$color} {
    @include set-color($color, $tone);
  }
}

@mixin normal-active-colors($color, $tone) {
  @include set-color($color, $tone);

  @each $state in /*hover, focus,*/ active {
    &:#{$state} {
      @if $state == hover {
        @include set-color($color, $tone);
      } @else {
        @include set-color($color, dark);
      }
    }
  }
}

@mixin set-normal-active-colors($color, $tone) {
  &.#{$color} {
    @include set-color($color, $tone);

    @each $state in /*hover, focus,*/ active {
      &:#{$state} {
        @if $state == hover {
          @include set-color($color, $tone);
        } @else {
          @include set-color($color, dark);
        }
      }
    }
  }
}

@mixin levels($tone: medium) {
  @each $level in accent, danger, error, warning, info, success {
    @include set-normal-color($level, $tone);
  }
}

@mixin active-levels($tone: medium) {
  @each $level in accent, danger, error, warning, info, success {
    @include set-normal-active-colors($level, $tone);
  }
}

@mixin colors($tone: medium) {
  @each $color in accent, blue, green, red, amber, banana, raspberry, plum {
    @include set-normal-color($color, $tone);
  }
}

@mixin active-colors($tone: medium) {
  @each $color in accent, blue, green, red, amber, banana, raspberry, plum {
    @include set-normal-active-colors($color, $tone);
  }
}

@mixin reset-first-last-margin {
  >:first-child {
    margin-top: 0;
  }

  >:last-child {
    margin-bottom: 0;
  }
}
<commit_msg>Restores classes for color palette 🚨<commit_after>@import 'variables';
@import 'functions';

html,
input, textarea, keygen, select, button {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 10pt;
}

@mixin set-bg-border-colors($bgcolor) {
  $color: foreground-meeting-color-contrast($bgcolor);

  background-color: $bgcolor;
  border-color: darken($bgcolor, 20%);
  color: $color;

  a {
    color: $color;
  }

  .active {
    a {
      color: $color;
    }
  }
}

.dark-gray{
  @include set-bg-border-colors($dark-gray);
}
.medium-gray{
  @include set-bg-border-colors($medium-gray);
}
.light-gray{
  @include set-bg-border-colors($light-gray);
}
.lightest-gray{
  @include set-bg-border-colors($lightest-gray);
}
.dark-blue{
  @include set-bg-border-colors($dark-blue);
}
.medium-blue{
  @include set-bg-border-colors($medium-blue);
}
.light-blue{
  @include set-bg-border-colors($light-blue);
}
.lightest-blue{
  @include set-bg-border-colors($lightest-blue);
}
.dark-green {
  @include set-bg-border-colors($dark-green);
}
.medium-green{
  @include set-bg-border-colors($medium-green);
}
.light-green{
  @include set-bg-border-colors($light-green);
}
.lightest-green{
  @include set-bg-border-colors($lightest-green);
}
.dark-red {
  @include set-bg-border-colors($dark-red);
}
.medium-red{
  @include set-bg-border-colors($medium-red);
}
.light-red{
  @include set-bg-border-colors($light-red);
}
.lightest-red{
  @include set-bg-border-colors($lightest-red);
}
.dark-amber {
  @include set-bg-border-colors($dark-amber);
}
.medium-amber{
  @include set-bg-border-colors($medium-amber);
}
.light-amber{
  @include set-bg-border-colors($light-amber);
}
.lightest-amber{
  @include set-bg-border-colors($lightest-amber);
}
.dark-accent {
  @include set-bg-border-colors($dark-accent);
}
.medium-accent{
  @include set-bg-border-colors($medium-accent);
}
.light-accent{
  @include set-bg-border-colors($light-accent);
}
.lightest-accent{
  @include set-bg-border-colors($lightest-accent);
}
.dark-plum {
  @include set-bg-border-colors($dark-plum);
}
.medium-plum{
  @include set-bg-border-colors($medium-plum);
}
.light-plum{
  @include set-bg-border-colors($light-plum);
}
.lightest-plum{
  @include set-bg-border-colors($lightest-plum);
}
.dark-raspberry {
  @include set-bg-border-colors($dark-raspberry);
}
.medium-raspberry{
  @include set-bg-border-colors($medium-raspberry);
}
.light-raspberry{
  @include set-bg-border-colors($light-raspberry);
}
.lightest-raspberry{
  @include set-bg-border-colors($lightest-raspberry);
}
.dark-banana {
  @include set-bg-border-colors($dark-banana);
}
.medium-banana{
  @include set-bg-border-colors($medium-banana);
}
.light-banana{
  @include set-bg-border-colors($light-banana);
}
.lightest-banana{
  @include set-bg-border-colors($lightest-banana);
}

// Generates aliases for level colors
@each $level in danger, error, warning, info, success {
  @each $tone in dark, medium, light, lightest {
    .#{$tone}-#{$level} {
      @if $level == error or $level == danger {
        @extend .#{$tone}-red;
      } @else if $level == warning {
        @extend .#{$tone}-amber;
      } @else if $level == info {
        @extend .#{$tone}-blue;
      } @else if $level == success {
        @extend .#{$tone}-green;
      }
    }
  }
}

@mixin set-color($color, $tone: medium) {
  @extend .#{$tone}-#{$color};
}

@mixin set-normal-color($color, $tone) {
  &.#{$color} {
    @include set-color($color, $tone);
  }
}

@mixin normal-active-colors($color, $tone) {
  @include set-color($color, $tone);

  @each $state in /*hover, focus,*/ active {
    &:#{$state} {
      @if $state == hover {
        @include set-color($color, $tone);
      } @else {
        @include set-color($color, dark);
      }
    }
  }
}

@mixin set-normal-active-colors($color, $tone) {
  &.#{$color} {
    @include set-color($color, $tone);

    @each $state in /*hover, focus,*/ active {
      &:#{$state} {
        @if $state == hover {
          @include set-color($color, $tone);
        } @else {
          @include set-color($color, dark);
        }
      }
    }
  }
}

@mixin levels($tone: medium) {
  @each $level in accent, danger, error, warning, info, success {
    @include set-normal-color($level, $tone);
  }
}

@mixin active-levels($tone: medium) {
  @each $level in accent, danger, error, warning, info, success {
    @include set-normal-active-colors($level, $tone);
  }
}

@mixin colors($tone: medium) {
  @each $color in accent, blue, green, red, amber, banana, raspberry, plum {
    @include set-normal-color($color, $tone);
  }
}

@mixin active-colors($tone: medium) {
  @each $color in accent, blue, green, red, amber, banana, raspberry, plum {
    @include set-normal-active-colors($color, $tone);
  }
}

@mixin reset-first-last-margin {
  >:first-child {
    margin-top: 0;
  }

  >:last-child {
    margin-bottom: 0;
  }
}

{'fraction_non_alphanumeric': 0.192888706196691, 'fraction_numerical': 0.0012331723358339328, 'mean_word_length': 3.456043956043956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1405346', 'n_tokens_mistral': 3756, 'n_tokens_neox': 3614, 'n_words': 649}