
@mixin mat-card-typography($config) {
  .mat-card {
    font-family: mat-font-family($config);
  }

  .mat-card-title {
    font: {
      weight: mat-font-weight($config, card-title);
    }
  }

  .mat-card-header .mat-card-title {
    font-size: mat-font-size($config, card-title);
    line-height: mat-line-height($config, card-title);

    @include ui-typography-reposive($fontConfig-sm, $fontConfig-m, $fontConfig-l, card-title);
  }

  .mat-card-subtitle,
  .mat-card-content {
    font-size: inherit;
  }
}
