Menu icon Foundation

My Posts

No Content

My Comments

Kester Hynds commented on Tim's post 9 months

This has been fixed. 
 
 
 
You can add this to _settings.scss:
 
 
 
$contrast-warnings: false;

Kester Hynds commented on Tim's post 9 months

This has been fixed. 
 
You can add this to _settings.scss:
 
$contrast-warnings: false;

Kester Hynds commented on Glenn Philp's post almost 2 years

Same issue...

Kester Hynds commented on pwl's post almost 2 years

Same issue...

Kester Hynds commented on Terry Smith's post almost 2 years

In app.scss:
@include foundation-visibility-classes;

Kester Hynds commented on Jonas's post about 2 years

In Zurb Foundation 6 you need to edit gulpfile.babel.js. Then you can add an .htaccess file in the src folder and it will get copied across. N.B. You still need to get your .htaccess syntax correct!
1. Create a new function (e.g. add it below copy function):
// Copy .htaccess
function htaccess() {
return gulp.src('src/.htaccess')
.pipe(gulp.dest(PATHS.dist));
}
 
2. Add htaccess to the build task:
// Build the "dist" folder by running all of the below tasks
gulp.task('build',
gulp.series(clean, gulp.parallel(pages, sass, javascript, images, copy, htaccess), styleGuide));
 
3. Add a watch task to the watch function:
 
// Watch for changes to static assets, pages, Sass, and JavaScript
function watch() {
gulp.watch(PATHS.assets, copy);
gulp.watch('src/.htaccess', htaccess);
gulp.watch('src/pages//*.html').on('all', gulp.series(pages, browser.reload));
gulp.watch('src/{layouts,partials}/
/.html').on('all', gulp.series(resetPages, pages, browser.reload));
gulp.watch('src/assets/scss/
/.scss').on('all', sass);
gulp.watch('src/assets/js//*.js').on('all', gulp.series(javascript, browser.reload));
gulp.watch('src/assets/img/
/').on('all', gulp.series(images, browser.reload));
gulp.watch('src/styleguide/
*').on('all', gulp.series(styleGuide, browser.reload));
}

Kester Hynds commented on Anna Callahan's post about 3 years

Posts Followed


  • 1
    Reply
  • Mixin xy-cell-breakpoints...

    By pwl

    mixins

    Foundation 6.4.3, trying use mixin xy-cell-breakpoints, I see message    Error: no mixin named xy-cell-breakpoints xy-cell-breakpoints is mentioned in official dochttp://foundation.zurb.com/sites/docs/xy-grid.html#responsive-gridsI have the im... (continued)

    Last Reply by Kester Hynds almost 2 years ago





Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Tim's post 9 months

This has been fixed. 
 
 
 
You can add this to _settings.scss:
 
 
 
$contrast-warnings: false;

You commented on Tim's post 9 months

This has been fixed. 
 
You can add this to _settings.scss:
 
$contrast-warnings: false;

You commented on Glenn Philp's post almost 2 years

Same issue...

You commented on pwl's post almost 2 years

Same issue...

You commented on Terry Smith's post almost 2 years

In app.scss:
@include foundation-visibility-classes;

You commented on Jonas's post about 2 years

In Zurb Foundation 6 you need to edit gulpfile.babel.js. Then you can add an .htaccess file in the src folder and it will get copied across. N.B. You still need to get your .htaccess syntax correct!
1. Create a new function (e.g. add it below copy function):
// Copy .htaccess
function htaccess() {
return gulp.src('src/.htaccess')
.pipe(gulp.dest(PATHS.dist));
}
 
2. Add htaccess to the build task:
// Build the "dist" folder by running all of the below tasks
gulp.task('build',
gulp.series(clean, gulp.parallel(pages, sass, javascript, images, copy, htaccess), styleGuide));
 
3. Add a watch task to the watch function:
 
// Watch for changes to static assets, pages, Sass, and JavaScript
function watch() {
gulp.watch(PATHS.assets, copy);
gulp.watch('src/.htaccess', htaccess);
gulp.watch('src/pages//*.html').on('all', gulp.series(pages, browser.reload));
gulp.watch('src/{layouts,partials}/
/.html').on('all', gulp.series(resetPages, pages, browser.reload));
gulp.watch('src/assets/scss/
/.scss').on('all', sass);
gulp.watch('src/assets/js//*.js').on('all', gulp.series(javascript, browser.reload));
gulp.watch('src/assets/img/
/').on('all', gulp.series(images, browser.reload));
gulp.watch('src/styleguide/
*').on('all', gulp.series(styleGuide, browser.reload));
}

You commented on Anna Callahan's post about 3 years

Posts Followed



Following

  • No Content

Followers

  • No Content