Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Changing to custom font in angular material 12

@use '~@angular/material' as mat;
@font-face {
   font-family: 'custom-font';
   src: url('assets/custom-font.ttf');
 }
$custom-typography: mat.define-typography-config(
  $font-family: "custom-font"
);
@include mat.core($custom-typography);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Changing #custom #font #angular #material
ADD COMMENT
Topic
Name
2+3 =