ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 1d89a0e1ec219066d94ccd04a654858875415d4b
parent cc69ec585fa7b5c95a14b5c14b67cd5388b1e7dc
Author: Rodolfo Sanchez <rodolfo@purchasingplatform.com>
Date:   Fri, 28 Aug 2015 12:14:16 -0500

Added simple documentation for using fonts in project.

Diffstat:
Adocs/add_custom_font.md | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/docs/add_custom_font.md b/docs/add_custom_font.md @@ -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