Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

postcss-color-rebeccapurple

Package Overview
Dependencies
1
Maintainers
4
Versions
18
Issues
File Explorer

Advanced tools

postcss-color-rebeccapurple

Use the rebeccapurple color keyword in CSS

    8.0.1latest
    Github

Version published
Maintainers
4
Weekly downloads
7,510,731
increased by6.28%

Weekly downloads

Readme

Source

PostCSS RebeccaPurple PostCSS Logo

npm version CSS Standard Status Build Status Discord

PostCSS RebeccaPurple lets you use the rebeccapurple color keyword in CSS.

.heading { color: rebeccapurple; } /* becomes */ .heading { color: #639; }

About the rebeccapurple keyword

In 2014, Rebecca Alison Meyer, the daughter of Eric A. Meyer, an American web design consultant best known for his advocacy work on behalf of CSS, passed away of a brain tumor at six years of age.

In her memory, the hex color #663399 is named rebeccapurple and added to the CSS Colors list.

Usage

Add PostCSS RebeccaPurple to your project:

npm install postcss postcss-color-rebeccapurple --save-dev

Use it as a PostCSS plugin:

const postcss = require('postcss'); const postcssRebeccaPurple = require('postcss-color-rebeccapurple'); postcss([ postcssRebeccaPurple(/* pluginOptions */) ]).process(YOUR_CSS /*, processOptions */);

PostCSS RebeccaPurple runs in all Node environments, with special instructions for:

Options

preserve

The preserve option determines whether the original notation is preserved. By default, it is not preserved.

postcssRebeccaPurple({ preserve: true }) .heading { color: rebeccapurple; } /* becomes */ .heading { color: #639; color: rebeccapurple; }

Keywords

FAQs

What is postcss-color-rebeccapurple?

Use the rebeccapurple color keyword in CSS

Is postcss-color-rebeccapurple popular?

The npm package postcss-color-rebeccapurple receives a total of 7,208,915 weekly downloads. As such, postcss-color-rebeccapurple popularity was classified as popular.

Is postcss-color-rebeccapurple well maintained?

We found that postcss-color-rebeccapurple demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 4 open source maintainers collaborating on the project.

Last updated on 28 Jan 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc