summaryrefslogtreecommitdiff
path: root/node_modules/postcss-color-rebeccapurple
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss-color-rebeccapurple')
-rw-r--r--node_modules/postcss-color-rebeccapurple/CHANGELOG.md21
-rw-r--r--node_modules/postcss-color-rebeccapurple/LICENSE.md18
-rw-r--r--node_modules/postcss-color-rebeccapurple/README.md89
-rw-r--r--node_modules/postcss-color-rebeccapurple/dist/index.cjs1
-rw-r--r--node_modules/postcss-color-rebeccapurple/dist/index.d.ts12
-rw-r--r--node_modules/postcss-color-rebeccapurple/dist/index.mjs1
-rw-r--r--node_modules/postcss-color-rebeccapurple/package.json86
7 files changed, 0 insertions, 228 deletions
diff --git a/node_modules/postcss-color-rebeccapurple/CHANGELOG.md b/node_modules/postcss-color-rebeccapurple/CHANGELOG.md
deleted file mode 100644
index 690ad2bf..00000000
--- a/node_modules/postcss-color-rebeccapurple/CHANGELOG.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Changes to PostCSS RebeccaPurple
-
-### 9.0.3
-
-_February 19, 2024_
-
-- Reuse code with `@csstools/utilities`
-
-### 9.0.2
-
-_December 15, 2023_
-
-- Fix type definitions
-
-### 9.0.1
-
-_September 18, 2023_
-
-- Improve performance
-
-[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple/CHANGELOG.md)
diff --git a/node_modules/postcss-color-rebeccapurple/LICENSE.md b/node_modules/postcss-color-rebeccapurple/LICENSE.md
deleted file mode 100644
index e8ae93b9..00000000
--- a/node_modules/postcss-color-rebeccapurple/LICENSE.md
+++ /dev/null
@@ -1,18 +0,0 @@
-MIT No Attribution (MIT-0)
-
-Copyright © CSSTools Contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the “Software”), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/node_modules/postcss-color-rebeccapurple/README.md b/node_modules/postcss-color-rebeccapurple/README.md
deleted file mode 100644
index 5872de27..00000000
--- a/node_modules/postcss-color-rebeccapurple/README.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# PostCSS RebeccaPurple [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
-
-[<img alt="npm version" src="https://img.shields.io/npm/v/postcss-color-rebeccapurple.svg" height="20">][npm-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]<br><br>[<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/rebeccapurple-color.svg" height="20">][css-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/rebeccapurple-color.svg" height="20">][css-url]
-
-```bash
-npm install postcss-color-rebeccapurple --save-dev
-```
-
-[PostCSS RebeccaPurple] lets you use the `rebeccapurple` color keyword in CSS.
-
-```pcss
-.heading {
- color: rebeccapurple;
-}
-
-/* becomes */
-
-.heading {
- color: #639;
-}
-```
-
-## About the `rebeccapurple` keyword
-
-In 2014, Rebecca Alison Meyer, the daughter of [Eric A. Meyer](https://en.wikipedia.org/wiki/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](https://lists.w3.org/Archives/Public/www-style/2014Jun/0312.html).
-
-## Usage
-
-Add [PostCSS RebeccaPurple] to your project:
-
-```bash
-npm install postcss postcss-color-rebeccapurple --save-dev
-```
-
-Use it as a [PostCSS] plugin:
-
-```js
-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:
-
-- [Node](INSTALL.md#node)
-- [PostCSS CLI](INSTALL.md#postcss-cli)
-- [PostCSS Load Config](INSTALL.md#postcss-load-config)
-- [Webpack](INSTALL.md#webpack)
-- [Next.js](INSTALL.md#nextjs)
-- [Gulp](INSTALL.md#gulp)
-- [Grunt](INSTALL.md#grunt)
-
-## Options
-
-### preserve
-
-The `preserve` option determines whether the original notation
-is preserved. By default, it is not preserved.
-
-```js
-postcssRebeccaPurple({ preserve: true })
-```
-
-```pcss
-.heading {
- color: rebeccapurple;
-}
-
-/* becomes */
-
-.heading {
- color: #639;
- color: rebeccapurple;
-}
-```
-
-[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
-[css-url]: https://cssdb.org/#rebeccapurple-color
-[discord]: https://discord.gg/bUadyRwkJS
-[npm-url]: https://www.npmjs.com/package/postcss-color-rebeccapurple
-
-[PostCSS]: https://github.com/postcss/postcss
-[PostCSS RebeccaPurple]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple
diff --git a/node_modules/postcss-color-rebeccapurple/dist/index.cjs b/node_modules/postcss-color-rebeccapurple/dist/index.cjs
deleted file mode 100644
index 78dfd23d..00000000
--- a/node_modules/postcss-color-rebeccapurple/dist/index.cjs
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";var e=require("postcss-value-parser"),r=require("@csstools/utilities");const s=/rebeccapurple/i,t=/^rebeccapurple$/i,creator=c=>{const l=Object.assign({preserve:!1},c);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(c){if(!s.test(c.value))return;if(r.hasFallback(c))return;const a=e(c.value);a.walk((e=>{"word"===e.type&&t.test(e.value)&&(e.value="#639")}));const o=String(a);o!==c.value&&(c.cloneBefore({value:o}),l.preserve||c.remove())}}};creator.postcss=!0,module.exports=creator;
diff --git a/node_modules/postcss-color-rebeccapurple/dist/index.d.ts b/node_modules/postcss-color-rebeccapurple/dist/index.d.ts
deleted file mode 100644
index fd19298a..00000000
--- a/node_modules/postcss-color-rebeccapurple/dist/index.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { PluginCreator } from 'postcss';
-
-declare const creator: PluginCreator<pluginOptions>;
-export default creator;
-
-/** postcss-color-rebeccapurple plugin options */
-export declare type pluginOptions = {
- /** Preserve the original notation. default: false */
- preserve?: boolean;
-};
-
-export { }
diff --git a/node_modules/postcss-color-rebeccapurple/dist/index.mjs b/node_modules/postcss-color-rebeccapurple/dist/index.mjs
deleted file mode 100644
index 726fa14f..00000000
--- a/node_modules/postcss-color-rebeccapurple/dist/index.mjs
+++ /dev/null
@@ -1 +0,0 @@
-import e from"postcss-value-parser";import{hasFallback as r}from"@csstools/utilities";const s=/rebeccapurple/i,t=/^rebeccapurple$/i,creator=o=>{const c=Object.assign({preserve:!1},o);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(o){if(!s.test(o.value))return;if(r(o))return;const l=e(o.value);l.walk((e=>{"word"===e.type&&t.test(e.value)&&(e.value="#639")}));const a=String(l);a!==o.value&&(o.cloneBefore({value:a}),c.preserve||o.remove())}}};creator.postcss=!0;export{creator as default};
diff --git a/node_modules/postcss-color-rebeccapurple/package.json b/node_modules/postcss-color-rebeccapurple/package.json
deleted file mode 100644
index f03e3aab..00000000
--- a/node_modules/postcss-color-rebeccapurple/package.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "name": "postcss-color-rebeccapurple",
- "description": "Use the rebeccapurple color keyword in CSS",
- "version": "9.0.3",
- "contributors": [
- {
- "name": "Antonio Laguna",
- "email": "antonio@laguna.es",
- "url": "https://antonio.laguna.es"
- },
- {
- "name": "Romain Menke",
- "email": "romainmenke@gmail.com"
- },
- {
- "name": "Jonathan Neal",
- "email": "jonathantneal@hotmail.com"
- },
- {
- "name": "Maxime Thirouin"
- }
- ],
- "license": "MIT-0",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/csstools"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/csstools"
- }
- ],
- "engines": {
- "node": "^14 || ^16 || >=18"
- },
- "type": "module",
- "main": "dist/index.cjs",
- "module": "dist/index.mjs",
- "exports": {
- ".": {
- "import": {
- "types": "./dist/index.d.ts",
- "default": "./dist/index.mjs"
- },
- "require": {
- "default": "./dist/index.cjs"
- }
- }
- },
- "files": [
- "CHANGELOG.md",
- "LICENSE.md",
- "README.md",
- "dist"
- ],
- "dependencies": {
- "@csstools/utilities": "^1.0.0",
- "postcss-value-parser": "^4.2.0"
- },
- "peerDependencies": {
- "postcss": "^8.4"
- },
- "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple#readme",
- "repository": {
- "type": "git",
- "url": "https://github.com/csstools/postcss-plugins.git",
- "directory": "plugins/postcss-color-rebeccapurple"
- },
- "bugs": "https://github.com/csstools/postcss-plugins/issues",
- "keywords": [
- "becca",
- "color",
- "css",
- "csswg",
- "eric",
- "meyer",
- "postcss",
- "postcss-plugin",
- "purple",
- "rebecca",
- "rgb",
- "syntax",
- "w3c"
- ]
-}