Skip to content

Commit b2fac37

Browse files
committed
Added variable for font path.
1 parent 6e7d2bc commit b2fac37

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

dist/js/dropify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* =============================================================
3-
* dropify v0.0.3 | Customize easily your basic HTML input files.
3+
* dropify v0.0.5 | Customize easily your basic HTML input files.
44
* https://github.com/JeremyFagis/dropify
55
*
66
* (c) 2015 <> |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dropify",
33
"description": "Customize easily your basic HTML input files.",
4-
"version": "0.0.4",
4+
"version": "0.0.5",
55
"homepage": "https://github.com/JeremyFagis/dropify",
66
"author": "Jeremy FAGIS <[email protected]> (http://fagis.fr)",
77
"repository": {

src/sass/_dropify-font.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@font-face {
22
font-family: 'dropify';
3-
src: url('../fonts/dropify.eot?57239411');
4-
src: url('../fonts/dropify.eot?57239411#iefix') format('embedded-opentype'),
5-
url('../fonts/dropify.woff?57239411') format('woff'),
6-
url('../fonts/dropify.ttf?57239411') format('truetype'),
7-
url('../fonts/dropify.svg?57239411#dropify') format('svg');
3+
src: url('#{$dropify-font-path}/dropify.eot?57239411');
4+
src: url('#{$dropify-font-path}/dropify.eot?57239411#iefix') format('embedded-opentype'),
5+
url('#{$dropify-font-path}/dropify.woff?57239411') format('woff'),
6+
url('#{$dropify-font-path}/dropify.ttf?57239411') format('truetype'),
7+
url('#{$dropify-font-path}/dropify.svg?57239411#dropify') format('svg');
88
font-weight: normal;
99
font-style: normal;
1010
}

src/sass/dropify.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "dropify-font";
2-
31
$dropify-width: 100% !default;
42
$dropify-height: 170px !default;
53
$dropify-font-family: "Roboto" !default;
@@ -8,6 +6,9 @@ $dropify-line-height: 22px !default;
86
$dropify-text-color: #777 !default;
97
$dropify-background: #FFF !default;
108
$dropify-stripes: #F9F9F9 !default;
9+
$dropify-font-path: "../fonts" !default;
10+
11+
@import "dropify-font";
1112

1213
.dropify-wrapper {
1314
display: block;

0 commit comments

Comments
 (0)