Skip to content

Commit

Permalink
Added simple documentation for using fonts in project.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanchezPP committed Aug 28, 2015
1 parent cc69ec5 commit 1d89a0e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/add_custom_font.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Add Custom font

### In variables.css add

```
@font-face {
font-family: 'Font name';
font-style: normal;
font-weight: 400;
src: url(${path_to_fonts}/font.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(${path_to_fonts}/font.woff2) format('woff2'),
url(${path_to_fonts}/font.woff) format('woff'),
url(${path_to_fonts}/font.ttf) format('truetype');
}
```

if adding diffrent extensions of fonts please add the specific loader in `tools/config.js` seciton modules/loaders

0 comments on commit 1d89a0e

Please sign in to comment.