From 37a27ef5dbbff1fdbf7926c3c78f7b85e268c9f6 Mon Sep 17 00:00:00 2001 From: Michael Moussa Date: Wed, 26 Dec 2012 13:40:35 -0500 Subject: [PATCH] Added variable Iconic font path. --- less/iconic.less | 8 ++++---- less/variables.less | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/less/iconic.less b/less/iconic.less index 4704e806..3bcc87a2 100644 --- a/less/iconic.less +++ b/less/iconic.less @@ -5,14 +5,14 @@ @font-face { font-family: IconicStroke; font-weight: normal; - src: url('../fonts/iconic_stroke.eot'); - src: local('IconicStroke'), url('iconic_stroke.eot?#iefix') format('../fonts/embedded-opentype'), url('../fonts/iconic_stroke.woff') format('woff'), url('../fonts/iconic_stroke.ttf') format('truetype'), url('iconic_stroke.svg#iconic') format('svg'), url('../fonts/iconic_stroke.otf') format('opentype'); + src: url(~'@{iconicFontPath}/iconic_stroke.eot'); + src: local('IconicStroke'), url('iconic_stroke.eot?#iefix') format(~'@{iconicFontPath}/embedded-opentype'), url(~'@{iconicFontPath}/iconic_stroke.woff') format('woff'), url(~'@{iconicFontPath}/iconic_stroke.ttf') format('truetype'), url('iconic_stroke.svg#iconic') format('svg'), url(~'@{iconicFontPath}/iconic_stroke.otf') format('opentype'); } @font-face { font-family: IconicFill; font-weight: normal; - src: url('../fonts/iconic_fill.eot'); - src: local('IconicFill'), url('../fonts/iconic_fill.eot?#iefix') format('embedded-opentype'), url('../fonts/iconic_fill.woff') format('woff'), url('../fonts/iconic_fill.ttf') format('truetype'), url('iconic_fill.svg#iconic') format('svg'), url('../fonts/iconic_fill.otf') format('opentype'); + src: url(~'@{iconicFontPath}/iconic_fill.eot'); + src: local('IconicFill'), url(~'@{iconicFontPath}/iconic_fill.eot?#iefix') format('embedded-opentype'), url(~'@{iconicFontPath}/iconic_fill.woff') format('woff'), url(~'@{iconicFontPath}/iconic_fill.ttf') format('truetype'), url('iconic_fill.svg#iconic') format('svg'), url(~'@{iconicFontPath}/iconic_fill.otf') format('opentype'); } // Icons diff --git a/less/variables.less b/less/variables.less index de36074f..25dc7ecf 100644 --- a/less/variables.less +++ b/less/variables.less @@ -153,6 +153,7 @@ // ------------------------- @iconSpritePath: "../img/glyphicons-halflings.png"; @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png"; +@iconicFontPath: "../font"; // Input placeholder text color