HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/vazhgar/src/theme/material.scss
@use '@angular/material' as mat;
@include mat.core();

$my-primary: mat.define-palette(mat.$teal-palette, 300);
$my-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
$my-warn: mat.define-palette(mat.$deep-orange-palette);

$my-typography: mat.define-typography-config(
  $font-family: 'Farhang'
);

$my-theme: mat.define-light-theme((
 color: (
   primary: $my-primary,
   accent: $my-accent,
   warn: $my-warn,
 ),
 typography: $my-typography
));
@include mat.all-component-themes($my-theme);
@include mat.typography-hierarchy($my-typography);


/* ------- HACK ------- */

body {
  --mdc-filled-button-label-text-tracking: 0;
}

.mat-toolbar.mat-primary {
  color: white;
}

span[color="primary"] {
  color: mat.get-color-from-palette($my-primary, 300);
  
  &.logo-type {
    font-weight: 900;
  }
}

.mat-mdc-unelevated-button.mat-primary {
  --mdc-filled-button-label-text-color: white;
}