diff options
author | Henri Sara <hesara@vaadin.com> | 2014-06-27 15:00:40 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-06-27 12:25:38 +0000 |
commit | e41c792da9d9bcf793e93043fa4b15d0bfc2f79c (patch) | |
tree | cb60029a841e178295d356140d261166fe64434b /WebContent/VAADIN/themes/valo/fonts/_fonts.scss | |
parent | a866eb14c98d9a264024bc9fab4abd911032e9cd (diff) | |
download | vaadin-framework-e41c792da9d9bcf793e93043fa4b15d0bfc2f79c.tar.gz vaadin-framework-e41c792da9d9bcf793e93043fa4b15d0bfc2f79c.zip |
Valo font path fixes for Vaadin Sass compiler
Change-Id: I2c72d57ffdc006e583b5bac23155eae67f33aa1f
Diffstat (limited to 'WebContent/VAADIN/themes/valo/fonts/_fonts.scss')
-rw-r--r-- | WebContent/VAADIN/themes/valo/fonts/_fonts.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/fonts/_fonts.scss b/WebContent/VAADIN/themes/valo/fonts/_fonts.scss index 8871648a43..b33e14d5d2 100644 --- a/WebContent/VAADIN/themes/valo/fonts/_fonts.scss +++ b/WebContent/VAADIN/themes/valo/fonts/_fonts.scss @@ -6,9 +6,15 @@ @import "lora/lora"; +$fontawesome-pathPrefix: null; + +@if $v-relative-paths == true { + $fontawesome-pathPrefix: "../../../"; +} + @mixin valo-fonts { // Font Awesome icons from the Base theme - @include v-font(FontAwesome, "../base/fonts/fontawesome-webfont"); + @include v-font(FontAwesome, "#{$fontawesome-pathPrefix}../base/fonts/fontawesome-webfont"); } |