Commit e2f24bee5de9efd594c4afd38c17b7698abe49d5
1 parent
ef175cf6
Exists in
master
and in
8 other branches
Add open-sans fonts
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
bower.json
gulp/build.js
| ... | ... | @@ -48,6 +48,7 @@ gulp.task('html', ['inject', 'partials'], function () { |
| 48 | 48 | .pipe(jsFilter.restore()) |
| 49 | 49 | .pipe(cssFilter) |
| 50 | 50 | .pipe($.replace('../../bower_components/bootstrap-sass-official/assets/fonts/bootstrap/', '../fonts/')) |
| 51 | + .pipe($.replace('../../bower_components/open-sans-fontface/fonts/', '../fonts/')) | |
| 51 | 52 | .pipe($.csso()) |
| 52 | 53 | .pipe(cssFilter.restore()) |
| 53 | 54 | .pipe(assets.restore()) |
| ... | ... | @@ -68,7 +69,10 @@ gulp.task('html', ['inject', 'partials'], function () { |
| 68 | 69 | // Only applies for fonts from bower dependencies |
| 69 | 70 | // Custom fonts are handled by the "other" task |
| 70 | 71 | gulp.task('fonts', function () { |
| 71 | - return gulp.src($.mainBowerFiles().concat('bower_components/bootstrap-sass-official/assets/fonts/bootstrap/*')) | |
| 72 | + return gulp.src([ | |
| 73 | + $.mainBowerFiles().concat('bower_components/bootstrap-sass-official/assets/fonts/bootstrap/*'), | |
| 74 | + $.mainBowerFiles().concat('bower_components/open-sans-fontface/fonts/*') | |
| 75 | + ]) | |
| 72 | 76 | .pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}')) |
| 73 | 77 | .pipe($.flatten()) |
| 74 | 78 | .pipe(gulp.dest(path.join(conf.paths.dist, '/fonts/'))); | ... | ... |