Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/stylelint/lib/rules/color-named/README.md')
-rw-r--r--assets/node_modules/stylelint/lib/rules/color-named/README.md159
1 files changed, 0 insertions, 159 deletions
diff --git a/assets/node_modules/stylelint/lib/rules/color-named/README.md b/assets/node_modules/stylelint/lib/rules/color-named/README.md
deleted file mode 100644
index 327d032..0000000
--- a/assets/node_modules/stylelint/lib/rules/color-named/README.md
+++ /dev/null
@@ -1,159 +0,0 @@
-# color-named
-
-Require (where possible) or disallow named colors.
-
-```css
-a { color: black }
-/** ↑
- * This named color */
-```
-
-## Options
-
-`string`: `"always-where-possible"|"never"`
-
-### `"always-where-possible"`
-
-Colors *must always*, where possible, be named.
-
-This will complain if a hex (3, 4, 6 and 8 digit), `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()` or `gray()` color can be represented as a named color.
-
-The following patterns are considered violations:
-
-```css
-a { color: #000; }
-```
-
-```css
-a { color: #f000; }
-```
-
-```css
-a { color: #ff000000; }
-```
-
-```css
-a { color: rgb(0, 0, 0); }
-```
-
-```css
-a { color: rgb(0%, 0%, 0%); }
-```
-
-```css
-a { color: rgba(0, 0, 0, 0); }
-```
-
-```css
-a { color: hsl(0, 0%, 0%); }
-```
-
-```css
-a { color: hwb(0, 0%, 100%); }
-```
-
-```css
-a { color: gray(0); }
-```
-
-The following patterns are *not* considered violations:
-
-```css
-a { color: black; }
-```
-
-```css
-a { color: rgb(10, 0, 0); }
-```
-
-```css
-a { color: rgb(0, 0, 0, 0.5); }
-```
-
-### `"never"`
-
-Colors *must never* be named.
-
-The following patterns are considered violations:
-
-```css
-a { color: black; }
-```
-
-```css
-a { color: white; }
-```
-
-The following patterns are *not* considered violations:
-
-```css
-a { color: #000; }
-```
-
-```css
-a { color: rgb(0, 0, 0); }
-```
-
-```css
-a { color: var(--white); }
-```
-
-```scss
-a { color: $blue; }
-```
-
-```less
-a { color: @blue; }
-```
-
-## Optional secondary options
-
-### `ignore: ["inside-function"]`
-
-Ignore colors that are inside a function.
-
-For example, with `"never"`.
-
-The following patterns are *not* considered violations:
-
-```css
-a {
- color: map-get($colour, blue);
-}
-```
-
-```css
-a {
- background-image: url(red);
-}
-```
-
-### `ignoreProperties: ["/regex/", /regex/, "string"]`
-
-For example with `"never"`.
-
-Given:
-
-```js
-["/^my-/", "composes"]
-```
-
-The following patterns are *not* considered violations:
-
-```css
-a {
- my-property: red;
-}
-```
-
-```css
-a {
- my-other-property: red;
-}
-```
-
-```css
-a {
- composes: red from './index.css';
-}
-```