svgo
Version:
12 lines (11 loc) • 492 B
TypeScript
export const name: "convertOneStopGradients";
export const description: "converts one-stop (single color) gradients to a plain color";
/**
* Converts one-stop (single color) gradients to a plain color.
*
* @author Seth Falco <seth@falco.fun>
* @type {import('../lib/types.js').Plugin}
* @see https://developer.mozilla.org/docs/Web/SVG/Element/linearGradient
* @see https://developer.mozilla.org/docs/Web/SVG/Element/radialGradient
*/
export const fn: import("../lib/types.js").Plugin;