Skip to content

Commit

Permalink
fix(css): remove experimental color-contrast() function page (#36973)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar authored Nov 26, 2024
1 parent 7e044f5 commit 31e158b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 57 deletions.
3 changes: 2 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11569,7 +11569,8 @@
/en-US/docs/Web/CSS/clamp() /en-US/docs/Web/CSS/clamp
/en-US/docs/Web/CSS/color-adjust /en-US/docs/Web/CSS/print-color-adjust
/en-US/docs/Web/CSS/color_value/color() /en-US/docs/Web/CSS/color_value/color
/en-US/docs/Web/CSS/color_value/color-contrast() /en-US/docs/Web/CSS/color_value/color-contrast
/en-US/docs/Web/CSS/color_value/color-contrast /en-US/docs/Web/CSS/color_value
/en-US/docs/Web/CSS/color_value/color-contrast() /en-US/docs/Web/CSS/color_value
/en-US/docs/Web/CSS/color_value/color-mix() /en-US/docs/Web/CSS/color_value/color-mix
/en-US/docs/Web/CSS/color_value/color_keywords /en-US/docs/Web/CSS/named-color
/en-US/docs/Web/CSS/color_value/device-cmyk() /en-US/docs/Web/CSS/color_value/device-cmyk
Expand Down
52 changes: 0 additions & 52 deletions files/en-us/web/css/color_value/color-contrast/index.md

This file was deleted.

1 change: 0 additions & 1 deletion files/en-us/web/css/color_value/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ A `<color>` value can be specified using one of the methods listed below:
- Other color spaces: {{CSSXref("color_value/color", "color()")}}.
- By using [relative color](/en-US/docs/Web/CSS/CSS_colors/Relative_colors) syntax to output a new color based on an existing color. Any of the above color functions can take an **origin color** preceded by the `from` keyword and followed by definitions of the channel values for the new **output color**.
- By mixing two colors: {{CSSXref("color_value/color-mix", "color-mix()")}}.
- By selecting a color based on contrast ratios: {{CSSXref("color_value/color-contrast", "color-contrast()")}}.
- By specifying two colors, using the first for light color-schemes and the second for dark color-schemes: {{CSSXref("color_value/light-dark", "light-dark()")}}.

### `currentcolor` keyword
Expand Down
1 change: 0 additions & 1 deletion files/en-us/web/css/css_colors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ To see the code for this color syntax converter, [view the source on GitHub](htt
- [`oklab()`](/en-US/docs/Web/CSS/color_value/oklab)
- [`oklch()`](/en-US/docs/Web/CSS/color_value/oklch)
- [`color()`](/en-US/docs/Web/CSS/color_value/color)
- [`color-contrast()`](/en-US/docs/Web/CSS/color_value/color-contrast) {{experimental_inline}}
- [`color-mix()`](/en-US/docs/Web/CSS/color_value/color-mix)
- [`device-cmyk()`](/en-US/docs/Web/CSS/color_value/device-cmyk)
- {{CSSXref("color_value/light-dark", "light-dark()")}}
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/css/css_functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ The {{CSSxRef("color_value","&lt;color&gt;")}} CSS [data type](/en-US/docs/Web/C
- : Specifies a particular, specified colorspace rather than the implicit sRGB colorspace.
- {{CSSxRef("color_value/color-mix", "color-mix()")}}
- : Mixes two color values in a given colorspace by a given amount.
- {{CSSxRef("color_value/color-contrast", "color-contrast()")}}
- : Selects the highest color contrast from a list of colors, compare to a base color value.
- {{CSSxRef("color_value/device-cmyk", "device-cmyk()")}}
- : Defines CMYK colors in a device-dependent way.
- {{CSSXref("color_value/light-dark", "light-dark()")}}
Expand Down

0 comments on commit 31e158b

Please sign in to comment.