Skip to content

Commit

Permalink
Remove convertColors plugin. (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkenny54 authored Oct 15, 2024
1 parent ecd7bb3 commit 99a1dc2
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 345 deletions.
40 changes: 0 additions & 40 deletions docs/04-plugins/convertColors.mdx

This file was deleted.

2 changes: 0 additions & 2 deletions lib/builtin.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import * as cleanupXlink from '../plugins/cleanupXlink.js';
import * as collapseGroups from '../plugins/collapseGroups.js';
import * as combinePaths from '../plugins/combinePaths.js';
import * as combineStyleElements from '../plugins/combineStyleElements.js';
import * as convertColors from '../plugins/convertColors.js';
import * as convertEllipseToCircle from '../plugins/convertEllipseToCircle.js';
import * as convertOneStopGradients from '../plugins/convertOneStopGradients.js';
import * as convertPathData from '../plugins/convertPathData.js';
Expand Down Expand Up @@ -81,7 +80,6 @@ export const builtin = Object.freeze([
cleanupXlink,
collapseGroups,
combinePaths,
convertColors,
convertEllipseToCircle,
convertOneStopGradients,
convertPathData,
Expand Down
163 changes: 0 additions & 163 deletions plugins/convertColors.js

This file was deleted.

8 changes: 0 additions & 8 deletions plugins/plugins-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ type DefaultPlugins = {
cleanupStyleElements: void;
collapseGroups: void;
combinePaths: void;
convertColors: {
currentColor?: boolean | string | RegExp;
names2hex?: boolean;
rgb2hex?: boolean;
convertCase?: false | 'lower' | 'upper';
shorthex?: boolean;
shortname?: boolean;
};
convertEllipseToCircle: void;
convertPathData: {
applyTransforms?: boolean;
Expand Down
19 changes: 0 additions & 19 deletions test/plugins/convertColors.01.svg.txt

This file was deleted.

9 changes: 0 additions & 9 deletions test/plugins/convertColors.02.svg.txt

This file was deleted.

15 changes: 0 additions & 15 deletions test/plugins/convertColors.03.svg.txt

This file was deleted.

25 changes: 0 additions & 25 deletions test/plugins/convertColors.04.svg.txt

This file was deleted.

23 changes: 0 additions & 23 deletions test/plugins/convertColors.05.svg.txt

This file was deleted.

41 changes: 0 additions & 41 deletions test/plugins/convertColors.06.svg.txt

This file was deleted.

0 comments on commit 99a1dc2

Please sign in to comment.