Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

ionic install font

// in the fonts.scss file, add the font-face for each font file
@font-face {
   font-family: 'Source Code Pro';
   src: url('../assets/fonts/SourceCodePro-ExtraLight.ttf');
   font-weight: 200;
   font-style: normal;
}

// Import font.scss; add the following line to src > app > app.scss
@import '../theme/fonts';
Source by softwarb.blog #
 
PREVIOUS NEXT
Tagged: #ionic #install #font
ADD COMMENT
Topic
Name
8+4 =