Download lato font to ionic RC4 app


#1

hey there! I want to use lato font in my app so I downloded it, add it to “www/assets/fonts” folder then I created the file “assets/fonts/lato.scss” :

$lato-font-path: $font-path !default;
@font-face {
          font-family: "Lato";
          font-style: normal;
          font-weight: 300;
          src: local("Lato Light"), local("Lato-Regular"), url("#{$lato-font-path}/lato-regular.ttf") format("truetype"), url("#{$lato-font-path}/lato-regular.woff") format("woff");
}

and I import it in “src/theme/variable.scss”

$font-path: "../assets/fonts";

// Fonts
// --------------------------------------------------

@import "lato";
@import "roboto";
@import "noto-sans";

The problem is that I get an error :confounded: file to import not found or unreadable !!
I don’t know wut’s wrong !! nd I couldn’t found any doc how to solve this issue !!

any help please :slight_smile: