postcss-minify-gradients

  • Version 9.0.8
  • Published
  • 23.8 kB
  • 3 dependencies
  • MIT license

Install

npm i postcss-minify-gradients
yarn add postcss-minify-gradients
pnpm add postcss-minify-gradients

Overview

Minify gradient parameters with PostCSS.

Index

Functions

Type Aliases

Namespaces

Functions

function pluginCreator

pluginCreator: typeof pluginCreator;
  • {import('postcss').Plugin}

Type Aliases

type ColorStop

type ColorStop = {
/**
* Comma-separated argument the stop came from.
*/
argIndex: number;
/**
* Offset just past the colour in the declaration value.
*/
colorEnd: number;
/**
* Positions following the colour.
*/
position: readonly number[];
};

    Namespaces

    namespace pluginCreator

    namespace pluginCreator {}

      variable postcss

      var postcss: boolean;

        Package Files (1)

        Dependencies (3)

        Dev Dependencies (1)

        Peer Dependencies (1)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-minify-gradients.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/postcss-minify-gradients)
        • HTML
          <a href="https://www.jsdocs.io/package/postcss-minify-gradients"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>