Skip to content

Commit 2d03c61

Browse files
author
Georgii Rychko
authored
Merge pull request #8 from rychkog/develop
fix: include font-awesome into built module
2 parents f9a155c + 48246bc commit 2d03c61

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

demo/index.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<meta charset="UTF-8">
55
<title><%= htmlWebpackPlugin.options.title %></title>
66

7-
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css" rel="stylesheet">
87
<link href="//cdn.jsdelivr.net/alertifyjs/1.7.1/css/alertify.min.css" rel="stylesheet"/>
98
<link href="//cdn.jsdelivr.net/alertifyjs/1.7.1/css/themes/default.min.css" rel="stylesheet"/>
109
<style>

src/common/styles/fonts.styl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
@font-face
2+
font-family: 'FontAwesome';
3+
src: url(/node_modules/font-awesome/fonts/fontawesome-webfont.eot);
4+
src: url(/node_modules/font-awesome/fonts/fontawesome-webfont.eot?#iefix) format('embedded-opentype'),
5+
url(/node_modules/font-awesome/fonts/fontawesome-webfont.woff2) format('woff2'),
6+
url(/node_modules/font-awesome/fonts/fontawesome-webfont.woff) format('woff'),
7+
url(/node_modules/font-awesome/fonts/fontawesome-webfont.ttf) format('truetype'),
8+
url(/node_modules/font-awesome/fonts/fontawesome-webfont.svg#bariolthin) format('svg')
9+
font-weight normal
10+
font-style normal
11+
112
primary-font-family = "Helvetica Neue", Helvetica, Arial, sans-serif
213
primary-icons-font-family = 'FontAwesome'
314

0 commit comments

Comments
 (0)