/*!
 * Copyright 2022 Scheer PAS Schweiz AG
 *
 *  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
 *  imitations under the License.
 */

@use "@angular/material" as mat;

$custom-primary: (
  50: var(--primary-20),
  100: var(--primary-20),
  200: var(--primary-40),
  300: var(--primary-60),
  400: var(--primary-80),
  500: var(--primary),
  600: var(--dark-primary-40),
  700: var(--dark-primary-60),
  800: var(--dark-primary-80),
  900: var(--dark-primary),
  a100: var(--primary-40),
  a200: var(--primary-60),
  a400: var(--primary-80),
  a700: var(--primary),
  contrast: (
    50: var(--primary-warn-contrast),
    100: var(--primary-warn-contrast),
    200: var(--primary-warn-contrast),
    300: var(--primary-warn-contrast),
    400: var(--primary-warn-contrast),
    500: var(--primary-warn-contrast),
    600: var(--primary-warn-contrast),
    700: var(--primary-warn-contrast),
    800: var(--primary-warn-contrast),
    900: var(--primary-warn-contrast),
    a100: var(--primary-warn-contrast),
    a200: var(--primary-warn-contrast),
    a400: var(--primary-warn-contrast),
    a700: var(--primary-warn-contrast),
  )
);
$custom-warn: (
  50: var(--warn-20),
  100: var(--warn-20),
  200: var(--warn-40),
  300: var(--warn-60),
  400: var(--warn-80),
  500: var(--warn),
  600: var(--dark-warn-40),
  700: var(--dark-warn-60),
  800: var(--dark-warn-80),
  900: var(--dark-warn),
  a100: var(--warn-40),
  a200: var(--warn-60),
  a400: var(--warn-80),
  a700: var(--warn),
  contrast: (
    50: var(--primary-warn-contrast),
    100: var(--primary-warn-contrast),
    200: var(--primary-warn-contrast),
    300: var(--primary-warn-contrast),
    400: var(--primary-warn-contrast),
    500: var(--primary-warn-contrast),
    600: var(--primary-warn-contrast),
    700: var(--primary-warn-contrast),
    800: var(--primary-warn-contrast),
    900: var(--primary-warn-contrast),
    a100: var(--primary-warn-contrast),
    a200: var(--primary-warn-contrast),
    a400: var(--primary-warn-contrast),
    a700: var(--primary-warn-contrast),
  )
);
$custom-accent: (
  50: var(--accent-20),
  100: var(--accent-20),
  200: var(--accent-40),
  300: var(--accent-60),
  400: var(--accent-80),
  500: var(--accent),
  600: var(--dark-accent-40),
  700: var(--dark-accent-60),
  800: var(--dark-accent-80),
  900: var(--dark-accent),
  a100: var(--accent-40),
  a200: var(--accent-60),
  a400: var(--accent-80),
  a700: var(--accent),
  contrast: (
    50: var(--acccent-contrast-60),
    100: var(--acccent-contrast-60),
    200: var(--acccent-contrast-60),
    300: var(--acccent-contrast-60),
    400: var(--acccent-contrast-60),
    500: var(--acccent-contrast-60),
    600: var(--acccent-contrast-80),
    700: var(--acccent-contrast-80),
    800: var(--acccent-contrast-80),
    900: var(--acccent-contrast-80),
    a100: var(--acccent-contrast-80),
    a200: var(--acccent-contrast-80),
    a400: var(--acccent-contrast-80),
    a700: var(--acccent-contrast-80),
  )
);
$primary-palette: mat.define-palette($custom-primary);
$accent-palette: mat.define-palette($custom-accent);
$warn-palette: mat.define-palette($custom-warn);
$theme-custom: mat.define-light-theme($primary-palette, $accent-palette, $warn-palette);
