4.0.0 • Published 7 months ago

@ephox/oxide-icons-tools v4.0.0

Weekly downloads
43
License
Apache-2.0
Repository
-
Last release
7 months ago

Various gulp plugins for Oxide icon packs

oxide-icon-packager

A very opinionated plugin which packages svgs in different formats and pipe them through with a predefined directory structure.

gulp.task('icon-packager', function () {
  return gulp.src('src/svg/*.svg')
    .pipe(iconPackager({
      // [Required] Name of the icon pack.
      name: 'default',

      // Logs a diff with @tinymce/oxide-icons-default. Requires that the module is made available.
      diffDefault: true,

      // Icons to ignore when producing a diff. Used in combination with "diffDefault"
      diffIgnore: ['accessibility-check'],

      // Override SVGO options (will be merged with default SVGO options). Use "svgo: false" to completely disable SVGO
      svgo: { floatPrecision: 2 }
    }))
    .pipe(gulp.dest('dist'));
});
4.0.0

7 months ago

3.1.1

11 months ago

3.0.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.2.1

3 years ago

2.2.2

3 years ago

2.2.0

4 years ago

2.1.1

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago