<commit_before>//-------------------------------
// Common Styles (6.x and 7.x)
//-------------------------------

@mixin notification--base($color, $new: false) {
  @include reset;
  @include font-smoothing;
  display: flex;
  flex: 1;
  justify-content: space-between;
  border-left: 6px solid $color;

  @include light-ui {
    background-color: $color__white;
    color: $color__blue-90;
    border-right: 3px solid $color__navy-gray-8;
  }

  @if ($new == false) {
    // 6.x
    background-color: $color__navy-gray-2;
    border-right: 3px solid darken($color__navy-gray-2, 5);
    color: $color;
    padding: .3rem 0 .3rem .5rem;
    min-height: rem(106.38px);
  }

  @else {
    // 7.x
    align-items: center;
    padding: 1rem .625rem .5rem 1rem;
    background-color: $color__blue-90;
    color: $color__white;
    min-height: rem(108.17px);
  }
}

@mixin bx--notification--themes($version) {
  @if $version == '6.x' {
    $new: false;

    // Theming mixins for notifitcations
    .bx--global-light-ui &--danger {
      @include notification--base($color__red-50, $new);
    }

    &--danger {
      @include notification--base($color__red-40, $new);
    }

    &--running {
      @include notification--base($color__blue-30, $new);
    }

    &--info {
      @include notification--base($color__yellow-30, $new);
    }

    &--warning {
      @include notification--base($color__orange-30, $new);
    }

    &--misc {
      @include notification--base($color__purple-40, $new);
    }
  }

  @if $version == '7.x' {
    $new: true;

    // Theming mixins for notifications
    .bx--global-light-ui &.bx--notification--error {
      @include notification--base($color__red-50, $new);
    }

    &.bx--notification--error  {
      @include notification--base($color__red-40, $new);
    }

    &.bx--notification--success {
      @include notification--base($color__green-30, $new);
    }

    &.bx--notification--info    {
      @include notification--base($color__blue-20, $new);
    }

    &.bx--notification--warning {
      @include notification--base($color__yellow-30, $new);
    }
  }
}

//-------------------------------
// 7.x Styles Only
//-------------------------------

@mixin notification--inline($color) {
  @include reset;
  @include font-smoothing;
  @include font-size('14');
  background-color: transparent;
  display: flex;
  flex: 1;
  justify-content: space-between;
  padding: .75rem 1rem;
  border: 1px solid $color;
  border-left: 6px solid $color;
  min-height: rem(68px);

  .bx--notification-inline__details svg {
    fill: $color;
  }

  @include light-ui { color: $color__blue-90; }
}

@mixin inline--icon {
  height: 16px;
  width: 16px;
  min-width: 22px;
}

@mixin close--icon {
  height: 10px;
  width: 10px;
  fill: $color__navy-gray-7;
}

@mixin close--button {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 42px;
  min-height: 42px;
}
<commit_msg>fix(notifications): color audit edits, closes #2068 (#2079)<commit_after>//-------------------------------
// Common Styles (6.x and 7.x)
//-------------------------------

@mixin notification--base($color, $new: false) {
  @include reset;
  @include font-smoothing;
  display: flex;
  flex: 1;
  justify-content: space-between;
  border-left: 6px solid $color;

  @include light-ui {
    background-color: $color__white;
    color: $color__blue-90;
    border-right: 3px solid $color__navy-gray-8;
  }

  @if ($new == false) {
    // 6.x
    background-color: $color__navy-gray-2;
    border-right: 3px solid darken($color__navy-gray-2, 5);
    color: $color;
    padding: .3rem 0 .3rem .5rem;
    min-height: rem(106.38px);
  }

  @else {
    // 7.x
    align-items: center;
    padding: 1rem .625rem .5rem 1rem;
    background-color: $color__navy-gray-3;
    color: $color__white;
    min-height: rem(108.17px);
  }
}

@mixin bx--notification--themes($version) {
  @if $version == '6.x' {
    $new: false;

    // Theming mixins for notifitcations
    .bx--global-light-ui &--danger {
      @include notification--base($color__red-50, $new);
    }

    &--danger {
      @include notification--base($color__red-40, $new);
    }

    &--running {
      @include notification--base($color__blue-30, $new);
    }

    &--info {
      @include notification--base($color__yellow-30, $new);
    }

    &--warning {
      @include notification--base($color__orange-30, $new);
    }

    &--misc {
      @include notification--base($color__purple-40, $new);
    }
  }

  @if $version == '7.x' {
    $new: true;

    // Theming mixins for notifications
    .bx--global-light-ui &.bx--notification--error {
      @include notification--base($color__red-50, $new);
    }

    &.bx--notification--error  {
      @include notification--base($color__red-40, $new);
    }

    &.bx--notification--success {
      @include notification--base($color__green-30, $new);
    }

    &.bx--notification--info    {
      @include notification--base($color__blue-20, $new);
    }

    &.bx--notification--warning {
      @include notification--base($color__yellow-30, $new);
    }
  }
}

//-------------------------------
// 7.x Styles Only
//-------------------------------

@mixin notification--inline($color) {
  @include reset;
  @include font-smoothing;
  @include font-size('14');
  background-color: transparent;
  display: flex;
  flex: 1;
  justify-content: space-between;
  padding: .75rem 1rem;
  border: 1px solid $color;
  border-left: 6px solid $color;
  min-height: rem(68px);

  .bx--notification-inline__details svg {
    fill: $color;
  }

  @include light-ui { color: $color__blue-90; }
}

@mixin inline--icon {
  height: 16px;
  width: 16px;
  min-width: 22px;
}

@mixin close--icon {
  height: 10px;
  width: 10px;
  fill: $color__navy-gray-7;
}

@mixin close--button {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 42px;
  min-height: 42px;
}

{'fraction_non_alphanumeric': 0.199835255354201, 'fraction_numerical': 0.030477759472817133, 'mean_word_length': 2.292299349240781, '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': '931924', 'n_tokens_mistral': 2290, 'n_tokens_neox': 2107, 'n_words': 428}