zurb / foundation-icon-fonts

Foundation Icon Fonts
112 stars 41 forks source link

Documentation for Bower/Compass use ist lacking #2

Open leotulipan opened 10 years ago

leotulipan commented 10 years ago

after running bower as per README, the user is left in the dark on how to integrate this into a foundation project.

I did add the following in config.rb

# foundation-icon-fonts3 https://github.com/zurb/foundation-icon-fonts
# run "bower install zurb/foundation-icon-fonts" to download
# add the path here so @import "foundation-icons"; in your _settings.scss works
add_import_path "bower_components/foundation-icon-fonts"

And in my _settings.scss

// Foundation Icon Fonts
// Path will be relative to "stylesheets/" so do ../ 
$fi-path: "../bower_components/foundation-icon-fonts/";
@import "foundation-icons";

I also integrated the pull request from https://github.com/rasmusjp/foundation-icon-fonts/commit/7e75d29fe8ddb27ec6582acdb1aa350af4f78189

Now the only thing missing is how to actually move the font files into a stylesheets/ or fonts/ sub-directory (so they are not fetched from bower_components anymore.