Skip to content

This tool is used to help convert svg icons into FileMaker compatible svg icons. It does various things such as fm_fill and a grey fill to enable use in filemaker.

License

Notifications You must be signed in to change notification settings

Luidog/gulp-fm-icon-converter

Repository files navigation

Gulp FM Icon Converter

This tool is used to help convert svg icons into filemaker compatable svg icons. It various things such as fm_fill and a grey fill to enable use in filemaker.

Getting Started

Installation

npm install --save gulp gulp-fm-icon-converter
'use strict';

const gulp = require('gulp');
const { convert, ensureDirectories, files } = require('gulp-fm-icon-converter');

const destination = 'fm-icons';
const source = 'standard-icons';

gulp.task('create-directories', ensureDirectories(source, destination));

gulp.task('convert-icons', () =>
  gulp
    .src(files(source))
    .pipe(convert())
    .pipe(gulp.dest(destination))
);

gulp.task('watch', () => gulp.watch(files(source), ['convert-icons']));

gulp.task('default', ['create-directories', 'watch']);

Authors

  • Lui de la Parra - Initial work

See also the list of contributors who participated in this project.

  • gulp-cheerio: Manipulate HTML and XML files with Cheerio in Gulp.

License

MIT © Lui de la Parra

Acknowledgments

  • Hat tip to Matt Petrowski for his contributions to all things FM.
  • Hat tip to Todd Geist for his hosting of this tool at fmsvg.com

About

This tool is used to help convert svg icons into FileMaker compatible svg icons. It does various things such as fm_fill and a grey fill to enable use in filemaker.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published