Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Added variable for font path.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyFagis committed Mar 4, 2015
1 parent 6e7d2bc commit b2fac37
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/js/dropify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* =============================================================
* dropify v0.0.3 | Customize easily your basic HTML input files.
* dropify v0.0.5 | Customize easily your basic HTML input files.
* https://github.com/JeremyFagis/dropify
*
* (c) 2015 <> |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dropify",
"description": "Customize easily your basic HTML input files.",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "https://github.com/JeremyFagis/dropify",
"author": "Jeremy FAGIS <jeremy@fagis.fr> (http://fagis.fr)",
"repository": {
Expand Down
10 changes: 5 additions & 5 deletions src/sass/_dropify-font.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {
font-family: 'dropify';
src: url('../fonts/dropify.eot?57239411');
src: url('../fonts/dropify.eot?57239411#iefix') format('embedded-opentype'),
url('../fonts/dropify.woff?57239411') format('woff'),
url('../fonts/dropify.ttf?57239411') format('truetype'),
url('../fonts/dropify.svg?57239411#dropify') format('svg');
src: url('#{$dropify-font-path}/dropify.eot?57239411');
src: url('#{$dropify-font-path}/dropify.eot?57239411#iefix') format('embedded-opentype'),
url('#{$dropify-font-path}/dropify.woff?57239411') format('woff'),
url('#{$dropify-font-path}/dropify.ttf?57239411') format('truetype'),
url('#{$dropify-font-path}/dropify.svg?57239411#dropify') format('svg');
font-weight: normal;
font-style: normal;
}
Expand Down
5 changes: 3 additions & 2 deletions src/sass/dropify.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "dropify-font";

$dropify-width: 100% !default;
$dropify-height: 170px !default;
$dropify-font-family: "Roboto" !default;
Expand All @@ -8,6 +6,9 @@ $dropify-line-height: 22px !default;
$dropify-text-color: #777 !default;
$dropify-background: #FFF !default;
$dropify-stripes: #F9F9F9 !default;
$dropify-font-path: "../fonts" !default;

@import "dropify-font";

.dropify-wrapper {
display: block;
Expand Down

0 comments on commit b2fac37

Please sign in to comment.