Skip to content

Instantly share code, notes, and snippets.

@timbophillips
Created January 1, 2019 00:44
Show Gist options
  • Select an option

  • Save timbophillips/455ac41659fddcd774c5550650665b66 to your computer and use it in GitHub Desktop.

Select an option

Save timbophillips/455ac41659fddcd774c5550650665b66 to your computer and use it in GitHub Desktop.

Revisions

  1. timbophillips created this gist Jan 1, 2019.
    11 changes: 11 additions & 0 deletions local-fonts-icons-angular
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    //// npm install --save roboto-fontface material-icons

    //// put the below stuff into src/styles.scss

    // for npm roboto-fontface package (to load local files)
    $roboto-font-path: "~roboto-fontface/fonts" !default;
    @import "~roboto-fontface/css/roboto/sass/roboto-fontface";

    // for npm material-icons package (to load local files)
    $material-icons-font-path: '~material-icons/iconfont/';
    @import '~material-icons/iconfont/material-icons.scss';