Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3802834
D600.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
994 B
Referenced Files
None
Subscribers
None
D600.diff
View Options
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -114,8 +114,8 @@
// Copy fonts used in CSS to the "dist" folder
function cssfonts() {
- return gulp.src('./bower_components/foundation-icon-fonts/**/*.{ttf,woff,eoff,svg}')
- .pipe(gulp.dest(PATHS.dist + '/assets/css'));
+ return gulp.src('./bower_components/foundation-icon-fonts/*.{ttf,woff,eot,svg}')
+ .pipe(gulp.dest(PATHS.dist + '/assets/fonts'));
}
// Start a server with BrowserSync to preview the site in
diff --git a/src/assets/scss/_settings.scss b/src/assets/scss/_settings.scss
--- a/src/assets/scss/_settings.scss
+++ b/src/assets/scss/_settings.scss
@@ -55,6 +55,8 @@
:: 35. Tooltip
:: 36. Top Bar
+ :: 37. Path for fonts
+
*/
// 1. Global
@@ -579,3 +581,8 @@
$topbar-title-spacing: 1rem;
$topbar-input-width: 200px;
$topbar-unstack-breakpoint: medium;
+
+// 37. Path for fonts
+// ------------------
+
+$fi-path: "../fonts";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 12:25 (12 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2272954
Default Alt Text
D600.diff (994 B)
Attached To
Mode
D600: Copy correctly Foundation Icon fonts to assets/fonts/
Attached
Detach File
Event Timeline
Log In to Comment