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.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.eslintrc.js
.gitignore
.prettierrc.js
.snyk
CODE_OF_CONDUCT.md
LICENSE
README.md
example.js
index.js
package-lock.json
package.json

README.md

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.

Dependencies

  • 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