SCSS

Web Fonts

Create a scss file with font face and place it assets/fonts directory


                                                        
                                                        
                                                            // Example
                                                        @font-face {
                                                          font-family: MyFont;
                                                          src: local(MyFont), url('../path/to/myfont.ttf') format('woff'), font-weight: bold;
                                                          font-style: normal;
                                                          font-stretch: normal;
                                                        }
                                                        
                                                            

You can then use the custom font in your css or web component like so


                                                        
                                                        
                                                            .my-component {
  font-family: 'MyFont';
}