Skip to content

Commit

Permalink
Merge pull request FortAwesome#256 from rsenk330/font-path-variable
Browse files Browse the repository at this point in the history
Add a variable for the root directory to the less files
  • Loading branch information
davegandy committed Jun 8, 2012
2 parents 4491673 + c4f7bae commit 99b5966
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions less/font-awesome.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@
*/

@fontAwesomePath: '../font';

@font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot');
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff') format('woff'),
url('../font/fontawesome-webfont.ttf') format('truetype'),
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
src: url('@{fontAwesomePath}/fontawesome-webfont.eot');
src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'),
url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'),
url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal;
font-style: normal;
}
Expand Down

0 comments on commit 99b5966

Please sign in to comment.