Hi!
I notice that in Core Apps module, the styling is handled with .scss files.
Though in a standard CSS module I can add a font by just adding the eot, ttf, woff and svg files such as:
webapp
|--resources
| |--fonts
| |--fontawesome.eot
| |--fontawesome.svg
| |--fontawesome.ttf
| |--fontawesome.woff
| |--styles
| |--font.css
And in the font.css file:
@font-face {
font-family: 'fontawesome';
src: url('../fonts/fontawesome.eot?dv54b9');
src: url('../fonts/fontawesome.eot?dv54b9#iefix') format('embedded-opentype'),
url('../fonts/fontawesome.ttf?dv54b9') format('truetype'),
url('../fonts/fontawesome.woff?dv54b9') format('woff'),
url('../fonts/fontawesome.svg?dv54b9#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.icon-sticky-note-o:before {
font-family: 'fontawesome' !important;
content: "\e900";
}
.icon-sticky-note:before {
font-family: 'fontawesome' !important;
content: "\e901";
}
I am not able to make this work in the Sass directory structure.
(Q) How to import a font in Core Apps module?