/*!
 * Copyright (c) 2014-2025 Bjoern Kimminich & the OWASP Juice Shop contributors.
 * SPDX-License-Identifier: MIT
 */
@use '@angular/material' as mat;

@include mat.elevation-classes();
@include mat.app-background();

$my-typography: mat.m2-define-typography-config();
@include mat.typography-hierarchy($my-typography);
@include mat.tooltip-typography($my-typography);

$deeppurple-amber-primary: mat.m2-define-palette(mat.$m2-deep-purple-palette);
$deeppurple-amber-accent: mat.m2-define-palette(mat.$m2-amber-palette, 700, 600, 800);
$deeppurple-amber-theme: mat.m2-define-light-theme((
  color: (
    primary: $deeppurple-amber-primary,
    accent: $deeppurple-amber-accent,
  )
));
@include mat.all-component-themes($deeppurple-amber-theme);

$indigo-pink-primary: mat.m2-define-palette(mat.$m2-indigo-palette);
$indigo-pink-accent: mat.m2-define-palette(mat.$m2-pink-palette, A200, A100, A400);
$indigo-pink-theme: mat.m2-define-light-theme((
  color: (
    primary: $indigo-pink-primary,
    accent: $indigo-pink-accent,
  ),
));

.indigo-pink-theme {
  @include mat.all-component-colors($indigo-pink-theme); }

$pink-bluegrey-primary: mat.m2-define-palette(mat.$m2-pink-palette, 700, 500, 900);
$pink-bluegrey-accent: mat.m2-define-palette(mat.$m2-blue-grey-palette, A200, A100, A400);
$pink-bluegrey-theme: mat.m2-define-dark-theme((
  color: (
    primary: $pink-bluegrey-primary,
    accent: $pink-bluegrey-accent,
  ),
));

.pink-bluegrey-theme {
  @include mat.all-component-colors($pink-bluegrey-theme); }

$purple-green-primary: mat.m2-define-palette(mat.$m2-purple-palette, 700, 500, 800);
$purple-green-accent: mat.m2-define-palette(mat.$m2-green-palette, A200, A100, A400);
$purple-green-theme: mat.m2-define-dark-theme((
  color: (
    primary: $purple-green-primary,
    accent: $purple-green-accent,
  ),
));

.purple-green-theme {
  @include mat.all-component-colors($purple-green-theme); }

$blue-lightblue-primary: mat.m2-define-palette(mat.$m2-blue-palette, 700, 400, 800);
$blue-lightblue-accent: mat.m2-define-palette(mat.$m2-light-blue-palette, 700, 600, 800);
$blue-lightblue-theme: mat.m2-define-light-theme((
  color: (
    primary: $blue-lightblue-primary,
    accent: $blue-lightblue-accent,
  ),
));

.blue-lightblue-theme {
  @include mat.all-component-colors($blue-lightblue-theme); }

$bluegrey-lightgreen-primary: mat.m2-define-palette(mat.$m2-blue-grey-palette, 600, 500, 900);
$bluegrey-lightgreen-accent: mat.m2-define-palette(mat.$m2-light-green-palette, 700, 300, 800);
$bluegrey-lightgreen-warn: mat.m2-define-palette(mat.$m2-deep-orange-palette);
$bluegrey-lightgreen-theme: mat.m2-define-dark-theme((
  color: (
    primary: $bluegrey-lightgreen-primary,
    accent: $bluegrey-lightgreen-accent,
    warn: $bluegrey-lightgreen-warn,
  ),
));

.bluegrey-lightgreen-theme {
  @include mat.all-component-colors($bluegrey-lightgreen-theme); }

$deeporange-indigo-primary: mat.m2-define-palette(mat.$m2-deep-orange-palette, 700, 500, 900);
$deeporange-indigo-accent: mat.m2-define-palette(mat.$m2-indigo-palette, 900, 300, A100);
$deeporange-indigo-theme: mat.m2-define-light-theme((
  color: (
    primary: $deeporange-indigo-primary,
    accent: $deeporange-indigo-accent,
  ),
));

.deeporange-indigo-theme {
  @include mat.all-component-colors($deeporange-indigo-theme); }

$lime-green-primary: mat.m2-define-palette(mat.$m2-lime-palette, 500, 300, 700);
$lime-green-accent: mat.m2-define-palette(mat.$m2-green-palette, 500, 300, 700);
$lime-green-warn: mat.m2-define-palette(mat.$m2-deep-orange-palette);
$lime-green-theme: mat.m2-define-dark-theme((
  color: (
    primary: $lime-green-primary,
    accent: $lime-green-accent,
    warn: $lime-green-warn,
  ),
));

.lime-green-theme {
  @include mat.all-component-colors($lime-green-theme); }
