/**
 *
 * @ai-apps/angular v2.152.0 | _tokens.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


//
// Copyright IBM Corp. 2021
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@import '../../globals/scss/theme-tokens';
@import '../../globals/scss/vendor/@carbon/elements/scss/colors/colors';
@import '../../globals/scss/vendor/@carbon/elements/scss/import-once/import-once';

// prettier-ignore
$notification-colors: (
  'notification-background-error': (
    fallback: $carbon__red-10,
    values: (
      (
        theme: $carbon--theme--white,
        value: $carbon__red-10,
      ),
      (
        theme: $carbon--theme--g10,
        value: $carbon__red-10,
      ),
      (
        theme: $carbon--theme--g80,
        value: $layer,
      ),
      (
        theme: $carbon--theme--g90,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--g100,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--v9,
        value: $carbon__red-10,
      ),
    ),
  ),
  'notification-background-success': (
    fallback: $carbon__green-10,
    values: (
      (
        theme: $carbon--theme--white,
        value: $carbon__green-10,
      ),
      (
        theme: $carbon--theme--g10,
        value: $carbon__green-10,
      ),
      (
        theme: $carbon--theme--g80,
        value: $layer,
      ),
      (
        theme: $carbon--theme--g90,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--g100,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--v9,
        value: $carbon__green-10,
      ),
    ),
  ),
  'notification-background-info': (
    fallback: $carbon__blue-10,
    values: (
      (
        theme: $carbon--theme--white,
        value: $carbon__blue-10,
      ),
      (
        theme: $carbon--theme--g10,
        value: $carbon__blue-10,
      ),
      (
        theme: $carbon--theme--g80,
        value: $layer,
      ),
      (
        theme: $carbon--theme--g90,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--g100,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--v9,
        value: $carbon__blue-10,
      ),
    ),
  ),
  'notification-background-warning': (
    fallback: mix($carbon__yellow-30, $carbon__white-0, 15%),
    values: (
      (
        theme: $carbon--theme--white,
        value: mix($carbon__yellow-30, $carbon__white-0, 15%),
      ),
      (
        theme: $carbon--theme--g10,
        value: mix($carbon__yellow-30, $carbon__white-0, 15%),
      ),
      (
        theme: $carbon--theme--g80,
        value: $layer,
      ),
      (
        theme: $carbon--theme--g90,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--g100,
        value: $ui-01,
      ),
      (
        theme: $carbon--theme--v9,
        value: mix($carbon__yellow-30, $carbon__white-0, 15%),
      ),
    ),
  ),
  'notification-action-hover': (
    fallback: $carbon__white-0,
    values: (
      (
        theme: $carbon--theme--white,
        value: $carbon__white-0,
      ),
      (
        theme: $carbon--theme--g10,
        value: $carbon__white-0,
      ),
      (
        theme: $carbon--theme--g80,
        value: $layer-hover,
      ),
      (
        theme: $carbon--theme--g90,
        value: $hover-ui,
      ),
      (
        theme: $carbon--theme--g100,
        value: $hover-ui,
      ),
      (
        theme: $carbon--theme--v9,
        value: $carbon__white-0,
      ),
    ),
  ),
);
