Skip to content

Luidog/gulp-fm-icon-converter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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