zurb / foundation-icon-fonts

Foundation Icon Fonts
112 stars 41 forks source link

Implementing fonts into foundation sites #25

Open geremyAB opened 8 years ago

geremyAB commented 8 years ago

There should be a tutorial on how to add awesome f-i-f to the new foundation sites ( ZF6 ) , well, after searching some information here and there, I managed to download the fonts (SVG , WOFF , TTF ) and additional folders for operation. I leave here in case any of you served.

philipp-jung commented 8 years ago

Cheers man, helped me getting going with the ZURB template. Here is what I did

# includes foundation icons
    - "bower_components/foundation-icon-fonts"
// This task kopiert die Iconfont ins css-verzeichnis
  function copyfonts() {
    return gulp.src('./bower_components/foundation-icon-fonts/**/*.{ttf,woff,eoff,svg}').pipe(gulp.dest('dist/assets/css'));
  };
// Build the "dist" folder by running all of the below tasks
gulp.task('build',
 gulp.series(clean, gulp.parallel(pages, sass, copyfonts, javascript, images, copy), styleGuide));
AmaZili commented 8 years ago

Larmor27 works fine with foundation-zurb-template at 6.2.3. Thanks to all of you, I was screwing around to get a solution for days.:-)

luxumbra commented 8 years ago

HOORAY! Thanks. This got things sorted for me too!