postcss-colormin
- Version 9.0.8
- Published
- 19.8 kB
- 5 dependencies
- MIT license
Install
npm i postcss-colorminyarn add postcss-colorminpnpm add postcss-colorminOverview
Minify colors in your CSS files with PostCSS.
Index
Variables
Functions
Type Aliases
Namespaces
Variables
variable moduleExports
const moduleExports: typeof pluginCreator;Functions
function pluginCreator
pluginCreator: typeof pluginCreator;Parameter config
{import('postcss').Plugin}
Type Aliases
type AutoprefixerOptions
type AutoprefixerOptions = { overrideBrowserslist?: string | string[];};type BrowserslistOptions
type BrowserslistOptions = Pick<browserslist.Options, 'stats' | 'path' | 'env'>;type MinifyColorOptions
type MinifyColorOptions = { hex?: boolean; alphaHex?: boolean; rgb?: boolean; hsl?: boolean; name?: boolean; transparent?: boolean; /** * Whether to minify colors inside custom property values (default: true) */ transformCustomProperties?: boolean;};type Options
type Options = MinifyColorOptions & AutoprefixerOptions & BrowserslistOptions;Namespaces
namespace pluginCreator
namespace pluginCreator {}variable postcss
var postcss: boolean;Package Files (1)
Dependencies (5)
Dev Dependencies (2)
Peer Dependencies (1)
Badge
To add a badge like this oneto 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-colormin.
- Markdown[](https://www.jsdocs.io/package/postcss-colormin)
- HTML<a href="https://www.jsdocs.io/package/postcss-colormin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2539 ms. - Missing or incorrect documentation? Open an issue for this package.
